replace cmd .bat with powershell .ps1

This commit is contained in:
Tlntin
2023-03-08 11:42:26 +08:00
parent 1f741dec0a
commit 75276595a5
2 changed files with 3 additions and 2 deletions

View File

@@ -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": ".\\script\\build.ps1",
"build:all-windows": "powershell .\\script\\build.ps1",
"tauri": "tauri",
"cli": "rollup -c rollup.config.js --watch",
"cli:build": "cross-env NODE_ENV=production rollup -c rollup.config.js",

View File

@@ -6,7 +6,7 @@
"tauri": {
"windows": [
{
"url": "https://weread.qq.com/",
"url": "",
"transparent": true,
"fullscreen": false,
"width": 1200,
@@ -28,3 +28,4 @@
"beforeDevCommand": ""
}
}