Archived
@@ -20,11 +20,11 @@ wget -qO- https://raw.githubusercontent.com/kleo-dev/linear-linux/refs/heads/mas
|
||||
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.3 APPIMAGE_URL=<url> INSTALL_ROOT=/opt ./installer.sh`
|
||||
- Accepts overrides: `VERSION=0.2.4 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).
|
||||
- `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)
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
#!/bin/bash
|
||||
chown root:root /opt/Linear/chrome-sandbox || true
|
||||
chmod 4755 /opt/Linear/chrome-sandbox || true
|
||||
+7
-1
@@ -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}"
|
||||
@@ -63,4 +63,10 @@ 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}"
|
||||
|
||||
|
||||
Generated
+3
-3
@@ -1,15 +1,15 @@
|
||||
{
|
||||
"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",
|
||||
"electron": "33.2.1",
|
||||
"electron-builder": "^25.1.8"
|
||||
}
|
||||
},
|
||||
|
||||
+5
-6
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"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",
|
||||
"build": "electron-builder --linux AppImage deb"
|
||||
"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": {
|
||||
"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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user