Compare commits

..

1 Commits

Author SHA1 Message Date
GitHub Actions
c272570878 chore: bump version to 4.10.3 [skip ci] 2026-02-21 06:58:57 +00:00
4 changed files with 31 additions and 38 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -103,5 +103,31 @@
"createStartMenuShortcut": true, "createStartMenuShortcut": true,
"shortcutName": "Paarrot" "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"
}
} }

View File

@@ -1,6 +1,6 @@
{ {
"name": "paarrot", "name": "paarrot",
"version": "4.10.2", "version": "4.10.3",
"description": "Yet another matrix client", "description": "Yet another matrix client",
"main": "electron/main.js", "main": "electron/main.js",
"engines": { "engines": {
@@ -10,9 +10,10 @@
"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 --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: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",