Fixed build errors

This commit is contained in:
2026-03-18 14:36:14 +01:00
parent 76d14296a5
commit 8ba81269c2
3 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ wget -qO- https://raw.githubusercontent.com/kleo-dev/linear-linux/refs/heads/mas
The installer: The installer:
- Downloads the AppImage, extracts it under `/opt/linear-linux-<version>`, and wires up the `chrome-sandbox` helper correctly. - Downloads the AppImage, extracts it under `/opt/linear-linux-<version>`, 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. - 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=<url> INSTALL_ROOT=/opt ./installer.sh` - Accepts overrides: `VERSION=0.2.4 APPIMAGE_URL=<url> INSTALL_ROOT=/opt ./installer.sh`
Development: Development:
- `npm start` launches Electron with sandbox disabled for local runs (packaged builds use the proper setuid helper). - `npm start` launches Electron with sandbox disabled for local runs (packaged builds use the proper setuid helper).
+1 -2
View File
@@ -2,7 +2,7 @@
set -euo pipefail 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}" 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_ROOT="${INSTALL_ROOT:-/opt}"
INSTALL_DIR="${INSTALL_ROOT}/linear-linux-${VERSION}" 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 chown root:root /opt/Linear/chrome-sandbox || true
sudo chmod 4755 /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}"
+2 -2
View File
@@ -1,10 +1,10 @@
{ {
"name": "linear-linux", "name": "linear-linux",
"version": "0.2.3", "version": "0.2.4",
"description": "Linux support for linear.app", "description": "Linux support for linear.app",
"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/squashfs-root/chrome-sandbox} ELECTRON_DISABLE_SANDBOX=1 npx electron index.js",
"build": "npx electron-builder --linux AppImage deb" "build": "npx electron-builder --linux AppImage deb"
}, },
"repository": { "repository": {