diff --git a/build-resources/entitlements.mac.plist b/build-resources/entitlements.mac.plist deleted file mode 100644 index 829e630..0000000 --- a/build-resources/entitlements.mac.plist +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - com.apple.security.cs.allow-jit - - - - com.apple.security.cs.allow-unsigned-executable-memory - - - - com.apple.security.cs.disable-library-validation - - - - com.apple.security.network.client - - - - com.apple.security.device.audio-input - - - - com.apple.security.device.camera - - - - com.apple.security.screen-recording - - - diff --git a/electron-builder.json5 b/electron-builder.json5 index d3ebadd..1fbbb8a 100644 --- a/electron-builder.json5 +++ b/electron-builder.json5 @@ -103,31 +103,5 @@ "createStartMenuShortcut": true, "shortcutName": "Paarrot" }, - "mac": { - "target": [ - { - "target": "dmg", - "arch": ["x64", "arm64"] - }, - { - "target": "zip", - "arch": ["x64", "arm64"] - } - ], - "category": "public.app-category.social-networking", - "icon": "icons/icon.icns", - "hardenedRuntime": true, - "gatekeeperAssess": false, - "entitlements": "build-resources/entitlements.mac.plist", - "entitlementsInherit": "build-resources/entitlements.mac.plist" - }, - "dmg": { - "sign": false, - "artifactName": "${productName}-${version}-${os}-${arch}.${ext}" - }, - "publish": { - "provider": "github", - "owner": "litruv", - "repo": "cinny-desktop" - } + "publish": null } diff --git a/package.json b/package.json index 9c90966..2e2dda3 100644 --- a/package.json +++ b/package.json @@ -10,10 +10,9 @@ "dev": "concurrently \"npm run dev:vite\" \"npm run dev:electron\"", "dev:vite": "cd cinny && npm start", "dev:electron": "wait-on http://localhost:8080 && NODE_ENV=development electron .", - "build": "node -e \"require('fs').copyFileSync('config.json', 'cinny/config.json')\" && cd cinny && npm run build && cd .. && electron-builder", + "build": "node -e \"require('fs').copyFileSync('config.json', 'cinny/config.json')\" && cd cinny && npm run build && cd .. && electron-builder --publish never", "build:linux": "npm run build -- --linux", - "build:win": "npm run build -- --win", - "build:mac": "npm run build -- --mac" + "build:win": "npm run build -- --win" }, "keywords": [], "author": "Ajay Bura",