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

(feat): added extension manager

This commit is contained in:
2025-02-27 23:51:21 +05:30
Verified
parent c6ae5c7e85
commit d835184b30
28 changed files with 1167 additions and 23 deletions

View File

@@ -1,7 +1,7 @@
{
"build": {
"beforeDevCommand": "npm run dev && cargo build --manifest-path=./src-tauri/msghost/Cargo.toml",
"beforeBuildCommand": "npm run build && cargo build --release --manifest-path=./src-tauri/msghost/Cargo.toml",
"beforeDevCommand": "cargo build --manifest-path=./src-tauri/msghost/Cargo.toml && node makeFilesExecutable.js && npm run dev",
"beforeBuildCommand": "cargo build --release --manifest-path=./src-tauri/msghost/Cargo.toml && node makeFilesExecutable.js && npm run build",
"devUrl": "http://localhost:1422",
"frontendDist": "../dist"
},
@@ -19,7 +19,22 @@
"csp": null,
"capabilities": [
"main-capability",
"shell-scope"
"shell-scope",
{
"identifier": "fs-scope",
"description": "allowed file system scopes",
"permissions": [
{
"identifier": "fs:scope",
"allow": [
{ "path": "$DOWNLOAD/pytubepp-extension-chrome" },
{ "path": "$DOWNLOAD/pytubepp-extension-chrome/*" },
{ "path": "$TEMP/com.neosubhamoy.pytubepp.helper" },
{ "path": "$TEMP/com.neosubhamoy.pytubepp.helper/*" }
]
}
]
}
]
}
},
@@ -58,6 +73,9 @@
"/etc/xdg/autostart/pytubepp-helper-autostart.desktop": "./autostart/pytubepp-helper-autostart.desktop"
}
}
}
},
"externalBin": [
"binaries/7zip"
]
}
}