{ $schema: "https://raw.githubusercontent.com/electron-userland/electron-builder/master/packages/app-builder-lib/scheme.json", appId: "b1730d2e-6f3c-4f92-9f4a-9f8e918b40d2", productName: "Zulip notes", asar: { smartUnpack: true, }, compression: "maximum", directories: { output: "release/${version}", }, files: [ "dist/**", "dist-electron/**", "!**/*.map", "!**/*.ts", "!**/*.md", "!**/__tests__/**", ], mac: { target: ["dmg"], artifactName: "${productName}-Mac-${version}-Installer.${ext}", icon: "build/icons/icon.icns", }, win: { target: [ { // "target": "nsis", target: "portable", arch: ["x64"], }, ], // "artifactName": "${productName}-Windows-${version}-Setup.${ext}", artifactName: "${productName}-Windows-${version}.${ext}", icon: "build/icons/icon.ico", }, linux: { target: ["AppImage"], artifactName: "${productName}-Linux-${version}.${ext}", icon: "build/icons/icon.png", }, nsis: { oneClick: false, perMachine: false, allowToChangeInstallationDirectory: true, deleteAppDataOnUninstall: false, }, }