-
Notifications
You must be signed in to change notification settings - Fork 351
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1193 from OskarDamkjaer/canary
Generate canary manifest
- Loading branch information
Showing
6 changed files
with
38 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
const { | ||
loadDataFromFile, | ||
writeDataToFile | ||
} = require('../build_scripts/generate-manifest-helpers') | ||
|
||
const manifestPath = process.argv[2] | ||
if (!manifestPath) { | ||
console.error('Please provide path to the manifest to be replaced') | ||
process.exit(1) | ||
} | ||
|
||
const manifest = loadDataFromFile(manifestPath) | ||
|
||
const canaryManifest = { | ||
...manifest, | ||
...{ | ||
name: 'Neo4j Browser Canary', | ||
short_name: 'Neo4j Browser Canary', | ||
icons: [ | ||
{ | ||
src: './assets/images/device-icons/neo4j-desktop-canary.svg', | ||
type: 'svg' | ||
} | ||
] | ||
} | ||
} | ||
|
||
writeDataToFile(manifestPath, canaryManifest) |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.