talk-desktop icon indicating copy to clipboard operation
talk-desktop copied to clipboard

build: use pwsh for release:package on Windows

Open ShGKme opened this issue 2 years ago • 0 comments

☑️ Resolves

  • ~~⚠️ Waiting for the release~~
  • After https://github.com/nextcloud/talk-desktop/pull/602 release:package doesn't work on Windows. Manual setting pwsh (modern PowerShell v7) was replaced with usePowerShell that uses old unsupported and yet default one PowerShell v5 instead of new PowerShell 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].

ShGKme avatar Apr 30 '24 15:04 ShGKme