{
  "build": {
    "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"
  },
  "identifier": "com.neosubhamoy.pytubepp.helper",
  "app": {
    "windows": [
      {
        "title": "PytubePP Helper",
        "width": 510,
        "height": 345,
        "useHttpsScheme": true
      }
    ],
    "security": {
      "csp": null,
      "capabilities": [
        "main-capability",
        "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/*" }
              ]
            }
          ]
        }
      ]
    }
  },
  "bundle": {
    "active": true,
    "targets": ["deb", "rpm"],
    "createUpdaterArtifacts": true,
    "licenseFile": "../LICENSE",
    "icon": [
      "icons/32x32.png",
      "icons/128x128.png",
      "icons/128x128@2x.png",
      "icons/icon.icns",
      "icons/icon.ico"
    ],
    "linux": {
      "deb": {
        "depends": ["python3-pip", "nodejs", "ffmpeg", "gnome-terminal"],
        "files": {
          "/etc/opt/chrome/native-messaging-hosts/com.neosubhamoy.pytubepp.helper.json": "./msghost-manifest/linux/chrome/com.neosubhamoy.pytubepp.helper.json",
          "/etc/chromium/native-messaging-hosts/com.neosubhamoy.pytubepp.helper.json": "./msghost-manifest/linux/chrome/com.neosubhamoy.pytubepp.helper.json",
          "/usr/lib/mozilla/native-messaging-hosts/com.neosubhamoy.pytubepp.helper.json": "./msghost-manifest/linux/firefox/com.neosubhamoy.pytubepp.helper.json",
          "/usr/bin/pytubepp-helper-msghost": "./target/release/pytubepp-helper-msghost",
          "/etc/xdg/autostart/pytubepp-helper-autostart.desktop": "./autostart/pytubepp-helper-autostart.desktop"
        }
      },
      "rpm": {
        "epoch": 0,
        "release": "1",
        "depends": ["python3-pip", "nodejs", "ffmpeg", "gnome-terminal"],
        "files": {
          "/etc/opt/chrome/native-messaging-hosts/com.neosubhamoy.pytubepp.helper.json": "./msghost-manifest/linux/chrome/com.neosubhamoy.pytubepp.helper.json",
          "/etc/chromium/native-messaging-hosts/com.neosubhamoy.pytubepp.helper.json": "./msghost-manifest/linux/chrome/com.neosubhamoy.pytubepp.helper.json",
          "/usr/lib/mozilla/native-messaging-hosts/com.neosubhamoy.pytubepp.helper.json": "./msghost-manifest/linux/firefox/com.neosubhamoy.pytubepp.helper.json",
          "/usr/bin/pytubepp-helper-msghost": "./target/release/pytubepp-helper-msghost",
          "/etc/xdg/autostart/pytubepp-helper-autostart.desktop": "./autostart/pytubepp-helper-autostart.desktop"
        }
      }
    },
    "externalBin": [
      "binaries/7zip"
    ]
  }
}