From 76d14296a5667fbf874a55de6e8096f93ad52edb Mon Sep 17 00:00:00 2001 From: Klesti Selimaj Date: Wed, 18 Mar 2026 14:25:58 +0100 Subject: [PATCH] Fixed build errors --- README.md | 2 +- build/after-install.sh | 3 --- installer.sh | 7 +++++++ package-lock.json | 2 +- package.json | 7 +++---- 5 files changed, 12 insertions(+), 9 deletions(-) delete mode 100755 build/after-install.sh diff --git a/README.md b/README.md index 8526ea7..2131959 100644 --- a/README.md +++ b/README.md @@ -27,4 +27,4 @@ Development: - `npm run build` produces an AppImage that bundles the Linear brand assets for the desktop icon. # 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) diff --git a/build/after-install.sh b/build/after-install.sh deleted file mode 100755 index 4343917..0000000 --- a/build/after-install.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash -chown root:root /opt/Linear/chrome-sandbox || true -chmod 4755 /opt/Linear/chrome-sandbox || true diff --git a/installer.sh b/installer.sh index 31e73a8..45891e3 100644 --- a/installer.sh +++ b/installer.sh @@ -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 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}" + diff --git a/package-lock.json b/package-lock.json index 4381148..1d8be5e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "0.2.3", "license": "ISC", "devDependencies": { - "electron": "^33.2.1", + "electron": "33.2.1", "electron-builder": "^25.1.8" } }, diff --git a/package.json b/package.json index c1d9491..c616605 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "main": "index.js", "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", - "build": "electron-builder --linux AppImage deb" + "build": "npx electron-builder --linux AppImage deb" }, "repository": { "type": "git", @@ -32,8 +32,7 @@ "deb" ], "category": "Utility", - "icon": "assets/linear-app-icon.png", - "afterInstall": "build/after-install.sh" + "icon": "assets/linear-app-icon.png" }, "extraResources": [ { @@ -43,7 +42,7 @@ ] }, "devDependencies": { - "electron": "^33.2.1", + "electron": "33.2.1", "electron-builder": "^25.1.8" } }