Compare commits
1 Commits
72193d2490
...
c272570878
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c272570878 |
@@ -1,20 +0,0 @@
|
||||
#!/bin/bash
|
||||
# Post-installation script for .deb and .rpm packages
|
||||
|
||||
# Update desktop database for the .desktop file
|
||||
if command -v update-desktop-database &> /dev/null; then
|
||||
update-desktop-database -q /usr/share/applications || true
|
||||
fi
|
||||
|
||||
# Update icon cache
|
||||
if command -v gtk-update-icon-cache &> /dev/null; then
|
||||
gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor || true
|
||||
fi
|
||||
|
||||
# Set appropriate permissions for chrome-sandbox (required for Electron)
|
||||
SANDBOX_PATH="/opt/Paarrot/chrome-sandbox"
|
||||
if [ -f "$SANDBOX_PATH" ]; then
|
||||
chmod 4755 "$SANDBOX_PATH" || true
|
||||
fi
|
||||
|
||||
exit 0
|
||||
@@ -1,14 +0,0 @@
|
||||
#!/bin/bash
|
||||
# Post-removal script for .deb and .rpm packages
|
||||
|
||||
# Update desktop database after removal
|
||||
if command -v update-desktop-database &> /dev/null; then
|
||||
update-desktop-database -q /usr/share/applications || true
|
||||
fi
|
||||
|
||||
# Update icon cache
|
||||
if command -v gtk-update-icon-cache &> /dev/null; then
|
||||
gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor || true
|
||||
fi
|
||||
|
||||
exit 0
|
||||
@@ -103,5 +103,31 @@
|
||||
"createStartMenuShortcut": true,
|
||||
"shortcutName": "Paarrot"
|
||||
},
|
||||
"publish": null
|
||||
"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"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "paarrot",
|
||||
"version": "4.10.2",
|
||||
"version": "4.10.3",
|
||||
"description": "Yet another matrix client",
|
||||
"main": "electron/main.js",
|
||||
"engines": {
|
||||
@@ -10,9 +10,10 @@
|
||||
"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 --publish never",
|
||||
"build": "node -e \"require('fs').copyFileSync('config.json', 'cinny/config.json')\" && cd cinny && npm run build && cd .. && electron-builder",
|
||||
"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": [],
|
||||
"author": "Ajay Bura",
|
||||
|
||||
Reference in New Issue
Block a user