replace cmd with pwsh(powershell)
This commit is contained in:
1
.github/workflows/pake_build.yaml
vendored
1
.github/workflows/pake_build.yaml
vendored
@@ -77,6 +77,7 @@ jobs:
|
||||
|
||||
- name: build for windows
|
||||
if: matrix.os == 'windows-latest'
|
||||
shell: pwsh
|
||||
run: |
|
||||
npm run build:all-windows
|
||||
|
||||
|
||||
1
.github/workflows/pake_build_with_cache.yaml
vendored
1
.github/workflows/pake_build_with_cache.yaml
vendored
@@ -74,6 +74,7 @@ jobs:
|
||||
|
||||
- name: build for windows
|
||||
if: matrix.os == 'windows-latest'
|
||||
shell: pwsh
|
||||
run: |
|
||||
npm run build:all-windows
|
||||
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user