Fixed build errors

This commit is contained in:
2026-03-18 14:25:58 +01:00
parent ac6c63f2f0
commit 76d14296a5
5 changed files with 12 additions and 9 deletions
+1 -1
View File
@@ -27,4 +27,4 @@ Development:
- `npm run build` produces an AppImage that bundles the Linear brand assets for the desktop icon. - `npm run build` produces an AppImage that bundles the Linear brand assets for the desktop icon.
# Having an issue? # Having an issue?
Describe your issue [here](https://github.com/kleo-dev/linear-linux/issues) Describe your issue [here](https://github.com/selimaj-dev/linear-linux/issues)
-3
View File
@@ -1,3 +0,0 @@
#!/bin/bash
chown root:root /opt/Linear/chrome-sandbox || true
chmod 4755 /opt/Linear/chrome-sandbox || true
+7
View File
@@ -63,4 +63,11 @@ sudo install -Dm644 "${ICON_SVG}" /usr/share/icons/hicolor/scalable/apps/linear.
sudo install -Dm644 "${ICON_PNG}" /usr/share/icons/hicolor/512x512/apps/linear.png sudo install -Dm644 "${ICON_PNG}" /usr/share/icons/hicolor/512x512/apps/linear.png
sudo gtk-update-icon-cache -f /usr/share/icons/hicolor || true sudo gtk-update-icon-cache -f /usr/share/icons/hicolor || true
echo "Configuring chrome sandbox"
sudo chown root:root /opt/Linear/chrome-sandbox || true
sudo chmod 4755 /opt/Linear/chrome-sandbox || true
echo "Linear ${VERSION} installed. Launch with: ${WRAPPER_PATH}" echo "Linear ${VERSION} installed. Launch with: ${WRAPPER_PATH}"
+1 -1
View File
@@ -9,7 +9,7 @@
"version": "0.2.3", "version": "0.2.3",
"license": "ISC", "license": "ISC",
"devDependencies": { "devDependencies": {
"electron": "^33.2.1", "electron": "33.2.1",
"electron-builder": "^25.1.8" "electron-builder": "^25.1.8"
} }
}, },
+3 -4
View File
@@ -5,7 +5,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"start": "CHROME_DEVEL_SANDBOX=${CHROME_DEVEL_SANDBOX:-/opt/linear-linux-0.2.1/squashfs-root/chrome-sandbox} ELECTRON_DISABLE_SANDBOX=1 npx electron index.js", "start": "CHROME_DEVEL_SANDBOX=${CHROME_DEVEL_SANDBOX:-/opt/linear-linux-0.2.1/squashfs-root/chrome-sandbox} ELECTRON_DISABLE_SANDBOX=1 npx electron index.js",
"build": "electron-builder --linux AppImage deb" "build": "npx electron-builder --linux AppImage deb"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
@@ -32,8 +32,7 @@
"deb" "deb"
], ],
"category": "Utility", "category": "Utility",
"icon": "assets/linear-app-icon.png", "icon": "assets/linear-app-icon.png"
"afterInstall": "build/after-install.sh"
}, },
"extraResources": [ "extraResources": [
{ {
@@ -43,7 +42,7 @@
] ]
}, },
"devDependencies": { "devDependencies": {
"electron": "^33.2.1", "electron": "33.2.1",
"electron-builder": "^25.1.8" "electron-builder": "^25.1.8"
} }
} }