We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
The parameter "useAppIdAsId" doesn't have any effect in the url of the squirrel updater.
It is still using the "name" of the entire nx solution (package.json), not the app's (from its project.json) or the id (from maker.options.json).
To Reproduce Steps to reproduce the behavior:
{ "$schema": "../../../../../node_modules/nx-electron/src/validation/maker.schema.json", "productName": "my-app", "appId": "com.company.myapp", "win": { "icon": "apps/my-app/src/assets/favicon.ico", "target": "squirrel" }, "squirrelWindows": { "useAppIdAsId": false, } }
https://my-domain/updates/win32/0.0.0/RELEASES?id=my-nx-solution&localVersion=0.0.0&arch=amd64
Note the id is the name of the nx solution, not the app's.
Enable the option "useAppIdAsId"
{ "$schema": "../../../../../node_modules/nx-electron/src/validation/maker.schema.json", "productName": "my-app", "appId": "com.company.myapp", "win": { "icon": "apps/my-app/src/assets/favicon.ico", "target": "squirrel" }, "squirrelWindows": { "useAppIdAsId": true, <------ } }
Build, Make and install the app.
Observe the requested url:
There is no changes.
Expected behavior
When useAppIdAsId is false, we should have the app name from its project.json file:
https://my-domain/updates/win32/0.0.0/RELEASES?id=my-app&localVersion=0.0.0&arch=amd64
When useAppIdAsId is true, we should have the app id from the maker.options.json file:
https://my-domain/updates/win32/0.0.0/RELEASES?id=com.company.myapp&localVersion=0.0.0&arch=amd64
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
The parameter "useAppIdAsId" doesn't have any effect in the url of the squirrel updater.
It is still using the "name" of the entire nx solution (package.json), not the app's (from its project.json) or the id (from maker.options.json).
To Reproduce
Steps to reproduce the behavior:
Note the id is the name of the nx solution, not the app's.
Enable the option "useAppIdAsId"
Build, Make and install the app.
Observe the requested url:
There is no changes.
Expected behavior
When useAppIdAsId is false, we should have the app name from its project.json file:
When useAppIdAsId is true, we should have the app id from the maker.options.json file:
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: