-
Notifications
You must be signed in to change notification settings - Fork 578
Update Windows configuration to remove AppX ambiguity #3239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
841cca8
424339a
e4672ea
0f7e2d8
ce94383
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,8 +2,8 @@ | |
| "productName": "Simplenote", | ||
| "appId": "com.automattic.simplenote", | ||
| "directories": { | ||
| "output": "release", | ||
| "buildResources": "resources" | ||
| "output": "./release", | ||
| "buildResources": "./resources" | ||
| }, | ||
| "files": ["desktop", "dist", "shared"], | ||
| "win": { | ||
|
|
@@ -29,7 +29,5 @@ | |
| "name": "simplenote", | ||
| "schemes": ["simplenote"] | ||
| } | ||
| ], | ||
| "afterSign": "./after_sign_hook.js", | ||
| "afterAllArtifactBuild": "./after_sign_hook.js" | ||
|
Comment on lines
-33
to
-34
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Notice that these were the same script. If you look into it, the only thing it does is notarizing for macOS. I decided to remove it to keep the config as small as possible. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To check my understanding of this file: it's fine to remove the calls to the
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @spencertransier correct |
||
| ] | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -54,17 +54,9 @@ | |
| { | ||
| "target": "nsis", | ||
| "arch": ["ia32", "x64"] | ||
| }, | ||
| { | ||
| "target": "appx", | ||
| "arch": ["ia32", "x64"] | ||
| } | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @mokagio I was about to suggest adding some comments to mention that the …but then I just realized this is a That being said, it seems that
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sure, 100% agree. I thought I had written it somewhere as a TODO myself, but I couldn't find a reference to share here. Every time I see a JSON used for config these days my first instinct is to ask if we can make it into a YAML. Being able to comment and use anchors and aliases makes the config work simpler. |
||
| ] | ||
| }, | ||
| "appx": { | ||
| "backgroundColor": "transparent", | ||
| "showNameOnTiles": true | ||
| }, | ||
| "nsis": { | ||
| "artifactName": "Simplenote-win-${version}-${arch}.${ext}", | ||
| "deleteAppDataOnUninstall": true, | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I decided to remove the platform check under the assumption these will mostly run in CI.
I'm not aware of any requirement for building Windows on a non Windows machine either.
This way, the script is simpler to understand.