Archived
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dd9dca9072 | ||
|
|
e5dcb2815c | ||
|
|
13b4ecf357 | ||
|
|
bb11f190b9 | ||
|
|
a9511ef3d8 | ||
|
|
388d545162 | ||
|
|
2947a49252 | ||
|
|
77599e880f | ||
|
|
1f0d7bc5a1 | ||
|
|
6aba7c178a | ||
|
|
43b7957ae3 | ||
|
|
8ba81269c2 | ||
|
|
76d14296a5 | ||
|
|
ac6c63f2f0 | ||
|
|
c2dfca9082 | ||
|
|
6c51e9226e |
@@ -14,17 +14,19 @@ A linux port of <a href="https://linear.app/">linear.app</a>
|
|||||||
Requires `sudo` (for sandbox helper, desktop entry, and icons).
|
Requires `sudo` (for sandbox helper, desktop entry, and icons).
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
wget -qO- https://raw.githubusercontent.com/kleo-dev/linear-linux/refs/heads/master/installer.sh | bash
|
git clone [email protected]:selimaj-dev/linear-linux.git
|
||||||
|
cd linear-linux
|
||||||
|
./installer.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
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.1 APPIMAGE_URL=<url> INSTALL_ROOT=/opt ./installer.sh`
|
- Accepts overrides: `VERSION=0.2.5 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).
|
||||||
- `npm run build` produces an AppImage that bundles the Linear brand assets for the desktop icon.
|
- `npm run build` produces an AppImage that bundles the Linear brand assets for the desktop icon.
|
||||||
|
|
||||||
# Having an issue?
|
# 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
|
|
||||||
Regular → Executable
+16
-2
@@ -2,8 +2,17 @@
|
|||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
VERSION="${VERSION:-0.2.1}"
|
ARCH=$(uname -m)
|
||||||
APPIMAGE_URL="${APPIMAGE_URL:-https://github.com/kleo-dev/linear-linux/releases/download/v${VERSION}/linear-linux-${VERSION}.AppImage}"
|
|
||||||
|
# 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_ROOT="${INSTALL_ROOT:-/opt}"
|
||||||
INSTALL_DIR="${INSTALL_ROOT}/linear-linux-${VERSION}"
|
INSTALL_DIR="${INSTALL_ROOT}/linear-linux-${VERSION}"
|
||||||
WRAPPER_PATH="/usr/local/bin/linear"
|
WRAPPER_PATH="/usr/local/bin/linear"
|
||||||
@@ -63,4 +72,9 @@ 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 install -Dm644 "${ICON_PNG}" /usr/share/icons/hicolor/512x512/apps/linear.png
|
||||||
sudo gtk-update-icon-cache -f /usr/share/icons/hicolor || true
|
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}"
|
echo "Linear ${VERSION} installed. Launch with: ${WRAPPER_PATH}"
|
||||||
|
|||||||
Generated
+3
-3
@@ -1,15 +1,15 @@
|
|||||||
{
|
{
|
||||||
"name": "linear-linux",
|
"name": "linear-linux",
|
||||||
"version": "0.2.3",
|
"version": "0.2.4",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "linear-linux",
|
"name": "linear-linux",
|
||||||
"version": "0.2.3",
|
"version": "0.2.4",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"electron": "^33.2.1",
|
"electron": "33.2.1",
|
||||||
"electron-builder": "^25.1.8"
|
"electron-builder": "^25.1.8"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
+7
-8
@@ -1,18 +1,18 @@
|
|||||||
{
|
{
|
||||||
"name": "linear-linux",
|
"name": "linear-linux",
|
||||||
"version": "0.2.3",
|
"version": "0.2.5",
|
||||||
"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": "electron-builder --linux AppImage deb"
|
"build": "npx electron-builder --linux AppImage --x64 --arm64"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/kleo-dev/linear-linux.git"
|
"url": "git+https://github.com/kleo-dev/linear-linux.git"
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"author": "Linear Linux <[email protected]>",
|
"author": "Selimaj Dev",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/kleo-dev/linear-linux/issues"
|
"url": "https://github.com/kleo-dev/linear-linux/issues"
|
||||||
@@ -28,12 +28,11 @@
|
|||||||
],
|
],
|
||||||
"linux": {
|
"linux": {
|
||||||
"target": [
|
"target": [
|
||||||
"AppImage",
|
"AppImage"
|
||||||
"deb"
|
|
||||||
],
|
],
|
||||||
"category": "Utility",
|
"category": "Utility",
|
||||||
"icon": "assets/linear-app-icon.png",
|
"icon": "assets/linear-app-icon.png",
|
||||||
"afterInstall": "build/after-install.sh"
|
"artifactName": "linear-linux-${version}-${arch}.${ext}"
|
||||||
},
|
},
|
||||||
"extraResources": [
|
"extraResources": [
|
||||||
{
|
{
|
||||||
@@ -43,7 +42,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"electron": "^33.2.1",
|
"electron": "33.2.1",
|
||||||
"electron-builder": "^25.1.8"
|
"electron-builder": "^25.1.8"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user