From 76d14296a5667fbf874a55de6e8096f93ad52edb Mon Sep 17 00:00:00 2001 From: Klesti Selimaj Date: Wed, 18 Mar 2026 14:25:58 +0100 Subject: [PATCH 1/3] 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" } } From 8ba81269c2bc772436034e8cdfe3400ddef26c14 Mon Sep 17 00:00:00 2001 From: Klesti Selimaj Date: Wed, 18 Mar 2026 14:36:14 +0100 Subject: [PATCH 2/3] Fixed build errors --- README.md | 2 +- installer.sh | 3 +-- package.json | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 2131959..f6a1834 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ wget -qO- https://raw.githubusercontent.com/kleo-dev/linear-linux/refs/heads/mas The installer: - Downloads the AppImage, extracts it under `/opt/linear-linux-`, and wires up the `chrome-sandbox` helper correctly. - Installs a wrapper at `/usr/local/bin/linear`, a desktop entry, and the Linear icon into the system icon cache. -- Accepts overrides: `VERSION=0.2.3 APPIMAGE_URL= INSTALL_ROOT=/opt ./installer.sh` +- Accepts overrides: `VERSION=0.2.4 APPIMAGE_URL= INSTALL_ROOT=/opt ./installer.sh` Development: - `npm start` launches Electron with sandbox disabled for local runs (packaged builds use the proper setuid helper). diff --git a/installer.sh b/installer.sh index 45891e3..928883a 100644 --- a/installer.sh +++ b/installer.sh @@ -2,7 +2,7 @@ set -euo pipefail -VERSION="${VERSION:-0.2.2}" +VERSION="${VERSION:-0.2.3}" APPIMAGE_URL="${APPIMAGE_URL:-https://github.com/kleo-dev/linear-linux/releases/download/v${VERSION}/linear-linux-${VERSION}.AppImage}" INSTALL_ROOT="${INSTALL_ROOT:-/opt}" INSTALL_DIR="${INSTALL_ROOT}/linear-linux-${VERSION}" @@ -68,6 +68,5 @@ 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.json b/package.json index c616605..2448f97 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,10 @@ { "name": "linear-linux", - "version": "0.2.3", + "version": "0.2.4", "description": "Linux support for linear.app", "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", + "start": "CHROME_DEVEL_SANDBOX=${CHROME_DEVEL_SANDBOX:-/opt/linear-linux/squashfs-root/chrome-sandbox} ELECTRON_DISABLE_SANDBOX=1 npx electron index.js", "build": "npx electron-builder --linux AppImage deb" }, "repository": { From 43b7957ae39af2dbccacd057cd28edefe1fdc3d7 Mon Sep 17 00:00:00 2001 From: Klesti Selimaj Date: Wed, 18 Mar 2026 14:38:33 +0100 Subject: [PATCH 3/3] idk --- package-lock.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1d8be5e..9c10ebf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "linear-linux", - "version": "0.2.3", + "version": "0.2.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "linear-linux", - "version": "0.2.3", + "version": "0.2.4", "license": "ISC", "devDependencies": { "electron": "33.2.1",