talk-desktop
talk-desktop copied to clipboard
build: use pwsh for release:package on Windows
☑️ Resolves
- ~~⚠️ Waiting for the release~~
- After https://github.com/nextcloud/talk-desktop/pull/602
release:packagedoesn't work on Windows. Manual settingpwsh(modernPowerShell v7) was replaced withusePowerShellthat uses old unsupported and yet default onePowerShell v5instead of newPowerShell v7+.
At line:1 char:24
+ npm run package:windows && npm run make:windows; exit $LastExitCode
+ ~~
The token '&&' is not a valid statement separator in this version.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : InvalidEndOfLine
This PR sets up pwsh with new usePwsh from [email protected].