1
1
mirror of https://github.com/neosubhamoy/pytubepp-helper.git synced 2026-02-04 11:22:22 +05:30
Files
pytubepp-helper/src-tauri/tauri.macos.conf.json

72 lines
2.7 KiB
JSON

{
"build": {
"beforeDevCommand": "[[ -n \"$TARGET_ARCH\" ]] && ARCH=\"$TARGET_ARCH\" || ARCH=\"$(uname -m | sed 's/^arm64$/aarch64/')-apple-darwin\" && cargo build --target=$ARCH --manifest-path=./src-tauri/msghost/Cargo.toml && npm run dev",
"beforeBuildCommand": "[[ -n \"$TARGET_ARCH\" ]] && ARCH=\"$TARGET_ARCH\" || ARCH=\"$(uname -m | sed 's/^arm64$/aarch64/')-apple-darwin\" && cargo build --release --target=$ARCH --manifest-path=./src-tauri/msghost/Cargo.toml && node copyFiles.${ARCH}.js && npm run build",
"devUrl": "http://localhost:1422",
"frontendDist": "../dist"
},
"identifier": "com.neosubhamoy.pytubepp.helper",
"plugins": {},
"app": {
"windows": [
{
"title": "PytubePP Helper",
"width": 515,
"height": 365,
"useHttpsScheme": true
}
],
"security": {
"csp": null,
"capabilities": [
"main-capability",
"shell-scope",
{
"identifier": "fs-scope",
"description": "allowed file system scopes",
"permissions": [
{
"identifier": "fs:scope",
"allow": [
{ "path": "$HOME/Library/LaunchAgents/" },
{ "path": "$HOME/Library/Application Support/Google/Chrome/NativeMessagingHosts/" },
{ "path": "$HOME/Library/Application Support/Chromium/NativeMessagingHosts/" },
{ "path": "$HOME/Library/Application Support/Mozilla/NativeMessagingHosts/" },
{ "path": "$HOME/Library/LaunchAgents/*" },
{ "path": "$HOME/Library/Application Support/Google/Chrome/NativeMessagingHosts/*" },
{ "path": "$HOME/Library/Application Support/Chromium/NativeMessagingHosts/*" },
{ "path": "$HOME/Library/Application Support/Mozilla/NativeMessagingHosts/*" },
{ "path": "$RESOURCE/pytubepp-helper-msghost.json" },
{ "path": "$RESOURCE/pytubepp-helper-msghost-moz.json" },
{ "path": "$RESOURCE/pytubepp-helper-msghost" },
{ "path": "$RESOURCE/pytubepp-helper-autostart.plist" }
]
}
]
}
]
}
},
"bundle": {
"active": true,
"targets": ["app", "dmg"],
"licenseFile": "../LICENSE",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
],
"macOS": {
"minimumSystemVersion": "10.13",
"providerShortName": "neosubhamoy"
},
"resources": [
"pytubepp-helper-msghost.json",
"pytubepp-helper-msghost-moz.json",
"pytubepp-helper-msghost",
"pytubepp-helper-autostart.plist"
]
}
}