Archived
@@ -22,7 +22,7 @@ cd linear-linux
|
||||
The installer:
|
||||
- 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.
|
||||
- Accepts overrides: `VERSION=0.2.4 APPIMAGE_URL=<url> INSTALL_ROOT=/opt ./installer.sh`
|
||||
- Accepts overrides: `VERSION=0.2.5 APPIMAGE_URL=<url> INSTALL_ROOT=/opt ./installer.sh`
|
||||
|
||||
Development:
|
||||
- `npm start` launches Electron with sandbox disabled for local runs (packaged builds use the proper setuid helper).
|
||||
|
||||
+11
-3
@@ -2,8 +2,17 @@
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
VERSION="${VERSION:-0.2.4}"
|
||||
APPIMAGE_URL="${APPIMAGE_URL:-https://github.com/selimaj-dev/linear-linux/releases/download/v${VERSION}/linear-linux-${VERSION}.AppImage}"
|
||||
ARCH=$(uname -m)
|
||||
|
||||
# Normalize to electron-builder naming
|
||||
case "$ARCH" in
|
||||
x86_64) ARCH="x64" ;;
|
||||
aarch64 | arm64) ARCH="arm64" ;;
|
||||
*) echo "Unsupported architecture: $ARCH"; exit 1 ;;
|
||||
esac
|
||||
|
||||
VERSION="${VERSION:-0.2.5}"
|
||||
APPIMAGE_URL="${APPIMAGE_URL:-https://github.com/selimaj-dev/linear-linux/releases/download/v${VERSION}/linear-linux-${VERSION}-${ARCH}.AppImage}"
|
||||
INSTALL_ROOT="${INSTALL_ROOT:-/opt}"
|
||||
INSTALL_DIR="${INSTALL_ROOT}/linear-linux-${VERSION}"
|
||||
WRAPPER_PATH="/usr/local/bin/linear"
|
||||
@@ -69,4 +78,3 @@ 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}"
|
||||
|
||||
|
||||
+6
-6
@@ -1,18 +1,18 @@
|
||||
{
|
||||
"name": "linear-linux",
|
||||
"version": "0.2.4",
|
||||
"version": "0.2.5",
|
||||
"description": "Linux support for linear.app",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"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 --x64 --arm64"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/kleo-dev/linear-linux.git"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "Linear Linux <[email protected]>",
|
||||
"author": "Selimaj Dev",
|
||||
"license": "ISC",
|
||||
"bugs": {
|
||||
"url": "https://github.com/kleo-dev/linear-linux/issues"
|
||||
@@ -28,11 +28,11 @@
|
||||
],
|
||||
"linux": {
|
||||
"target": [
|
||||
"AppImage",
|
||||
"deb"
|
||||
"AppImage"
|
||||
],
|
||||
"category": "Utility",
|
||||
"icon": "assets/linear-app-icon.png"
|
||||
"icon": "assets/linear-app-icon.png",
|
||||
"artifactName": "linear-linux-${version}-${arch}.${ext}"
|
||||
},
|
||||
"extraResources": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user