1
1
mirror of https://github.com/neosubhamoy/pytubepp-helper.git synced 2026-02-04 11:22:22 +05:30

(refactor): replaced windows copyFiles.js build script with new tauri resource mapping

This commit is contained in:
2025-03-02 22:15:53 +05:30
Verified
parent 802d8c1eab
commit a1c7e8c25c
2 changed files with 6 additions and 24 deletions

View File

@@ -1,7 +1,7 @@
{
"build": {
"beforeDevCommand": "cargo build --manifest-path=./src-tauri/msghost/Cargo.toml && npm run dev",
"beforeBuildCommand": "cargo build --release --manifest-path=./src-tauri/msghost/Cargo.toml && node copyFiles.js && npm run build",
"beforeBuildCommand": "cargo build --release --manifest-path=./src-tauri/msghost/Cargo.toml && npm run build",
"devUrl": "http://localhost:1422",
"frontendDist": "../dist"
},
@@ -62,11 +62,11 @@
"installerHooks": "installer/windows/nsis-hooks.nsi"
}
},
"resources": [
"pytubepp-helper-msghost.json",
"pytubepp-helper-msghost-moz.json",
"pytubepp-helper-msghost.exe"
],
"resources": {
"msghost-manifest/windows/chrome/com.neosubhamoy.pytubepp.helper.json": "pytubepp-helper-msghost.json",
"msghost-manifest/windows/firefox/com.neosubhamoy.pytubepp.helper.json": "pytubepp-helper-msghost-moz.json",
"target/release/pytubepp-helper-msghost.exe": "pytubepp-helper-msghost.exe"
},
"externalBin": [
"binaries/7zip"
]