Skip to content

Commit

Permalink
replace cmd with pwsh(powershell)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tlntin committed Mar 8, 2023
1 parent 5c5f9d5 commit 9b89f7e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/pake_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ jobs:
- name: build for windows
if: matrix.os == 'windows-latest'
shell: pwsh
run: |
npm run build:all-windows
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pake_build_with_cache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ jobs:
- name: build for windows
if: matrix.os == 'windows-latest'
shell: pwsh
run: |
npm run build:all-windows
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"build": "npm run tauri build --release",
"build:mac": "npm run tauri build -- --target universal-apple-darwin",
"build:all-unix": "chmod +x ./script/build.sh && ./script/build.sh",
"build:all-windows": "powershell .\\script\\build.ps1",
"build:all-windows": "pwsh .\\script\\build.ps1",
"tauri": "tauri",
"cli": "rollup -c rollup.config.js --watch",
"cli:build": "cross-env NODE_ENV=production rollup -c rollup.config.js",
Expand Down

0 comments on commit 9b89f7e

Please sign in to comment.