File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ cd linear-linux
2222The installer:
2323- Downloads the AppImage, extracts it under ` /opt/linear-linux-<version> ` , and wires up the ` chrome-sandbox ` helper correctly.
2424- Installs a wrapper at ` /usr/local/bin/linear ` , a desktop entry, and the Linear icon into the system icon cache.
25- - Accepts overrides: ` VERSION=0.2.4 APPIMAGE_URL=<url> INSTALL_ROOT=/opt ./installer.sh `
25+ - Accepts overrides: ` VERSION=0.2.5 APPIMAGE_URL=<url> INSTALL_ROOT=/opt ./installer.sh `
2626
2727Development:
2828- ` npm start ` launches Electron with sandbox disabled for local runs (packaged builds use the proper setuid helper).
Original file line number Diff line number Diff line change 22
33set -euo pipefail
44
5- VERSION=" ${VERSION:- 0.2.4} "
6- APPIMAGE_URL=" ${APPIMAGE_URL:- https:// github.com/ selimaj-dev/ linear-linux/ releases/ download/ v${VERSION} / linear-linux-${VERSION} .AppImage} "
5+ ARCH=$( uname -m)
6+
7+ # Normalize to electron-builder naming
8+ case " $ARCH " in
9+ x86_64) ARCH=" x64" ;;
10+ aarch64 | arm64) ARCH=" arm64" ;;
11+ * ) echo " Unsupported architecture: $ARCH " ; exit 1 ;;
12+ esac
13+
14+ VERSION=" ${VERSION:- 0.2.5} "
15+ APPIMAGE_URL=" ${APPIMAGE_URL:- https:// github.com/ selimaj-dev/ linear-linux/ releases/ download/ v${VERSION} / linear-linux-${VERSION} -${ARCH} .AppImage} "
716INSTALL_ROOT=" ${INSTALL_ROOT:-/ opt} "
817INSTALL_DIR=" ${INSTALL_ROOT} /linear-linux-${VERSION} "
918WRAPPER_PATH=" /usr/local/bin/linear"
@@ -69,4 +78,3 @@ sudo chown root:root /opt/Linear/chrome-sandbox || true
6978sudo chmod 4755 /opt/Linear/chrome-sandbox || true
7079
7180echo " Linear ${VERSION} installed. Launch with: ${WRAPPER_PATH} "
72-
Original file line number Diff line number Diff line change 11{
22 "name" : " linear-linux" ,
3- "version" : " 0.2.4 " ,
3+ "version" : " 0.2.5 " ,
44 "description" : " Linux support for linear.app" ,
55 "main" : " index.js" ,
66 "scripts" : {
77 "start" : " CHROME_DEVEL_SANDBOX=${CHROME_DEVEL_SANDBOX:-/opt/linear-linux/squashfs-root/chrome-sandbox} ELECTRON_DISABLE_SANDBOX=1 npx electron index.js" ,
8- "build" : " npx electron-builder --linux AppImage deb "
8+ "build" : " npx electron-builder --linux AppImage --x64 --arm64 "
99 },
1010 "repository" : {
1111 "type" : " git" ,
1212 "url" : " git+https://github.com/kleo-dev/linear-linux.git"
1313 },
1414 "keywords" : [],
15- "author" : " Linear Linux <linear@example.com> " ,
15+ "author" : " Selimaj Dev " ,
1616 "license" : " ISC" ,
1717 "bugs" : {
1818 "url" : " https://github.com/kleo-dev/linear-linux/issues"
2828 ],
2929 "linux" : {
3030 "target" : [
31- " AppImage" ,
32- " deb"
31+ " AppImage"
3332 ],
3433 "category" : " Utility" ,
35- "icon" : " assets/linear-app-icon.png"
34+ "icon" : " assets/linear-app-icon.png" ,
35+ "artifactName" : " linear-linux-${version}-${arch}.${ext}"
3636 },
3737 "extraResources" : [
3838 {
You can’t perform that action at this time.
0 commit comments