(feat): added updateYtDlpBinary build script

This commit is contained in:
2025-05-16 13:51:04 +05:30
parent 1434eff75b
commit bfb24d7437
6 changed files with 62 additions and 6 deletions

View File

@@ -2,7 +2,7 @@
"identifier": "com.neosubhamoy.neodlp",
"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 && npm run build",
"beforeBuildCommand": "cargo build --release --manifest-path=./src-tauri/msghost/Cargo.toml && node updateYtDlpBinary.js x86_64-pc-windows-msvc && npm run build",
"devUrl": "http://localhost:1420",
"frontendDist": "../dist"
},