fix: add linux build scripts, remove mac builds, disable auto-publish
This commit is contained in:
@@ -1,33 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<!-- Allow JIT compilation for V8 JavaScript engine -->
|
|
||||||
<key>com.apple.security.cs.allow-jit</key>
|
|
||||||
<true/>
|
|
||||||
|
|
||||||
<!-- Allow unsigned executable memory (required for Electron) -->
|
|
||||||
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
|
|
||||||
<true/>
|
|
||||||
|
|
||||||
<!-- Allow loading unsigned dylibs -->
|
|
||||||
<key>com.apple.security.cs.disable-library-validation</key>
|
|
||||||
<true/>
|
|
||||||
|
|
||||||
<!-- Network access for Matrix communication -->
|
|
||||||
<key>com.apple.security.network.client</key>
|
|
||||||
<true/>
|
|
||||||
|
|
||||||
<!-- Microphone access for voice/video calls -->
|
|
||||||
<key>com.apple.security.device.audio-input</key>
|
|
||||||
<true/>
|
|
||||||
|
|
||||||
<!-- Camera access for video calls -->
|
|
||||||
<key>com.apple.security.device.camera</key>
|
|
||||||
<true/>
|
|
||||||
|
|
||||||
<!-- Screen recording for screen sharing -->
|
|
||||||
<key>com.apple.security.screen-recording</key>
|
|
||||||
<true/>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
||||||
@@ -103,31 +103,5 @@
|
|||||||
"createStartMenuShortcut": true,
|
"createStartMenuShortcut": true,
|
||||||
"shortcutName": "Paarrot"
|
"shortcutName": "Paarrot"
|
||||||
},
|
},
|
||||||
"mac": {
|
"publish": null
|
||||||
"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"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,10 +10,9 @@
|
|||||||
"dev": "concurrently \"npm run dev:vite\" \"npm run dev:electron\"",
|
"dev": "concurrently \"npm run dev:vite\" \"npm run dev:electron\"",
|
||||||
"dev:vite": "cd cinny && npm start",
|
"dev:vite": "cd cinny && npm start",
|
||||||
"dev:electron": "wait-on http://localhost:8080 && NODE_ENV=development electron .",
|
"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:linux": "npm run build -- --linux",
|
||||||
"build:win": "npm run build -- --win",
|
"build:win": "npm run build -- --win"
|
||||||
"build:mac": "npm run build -- --mac"
|
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"author": "Ajay Bura",
|
"author": "Ajay Bura",
|
||||||
|
|||||||
Reference in New Issue
Block a user