feat: add window management, shortcuts, and build fixes

- Add Ctrl+Shift+N shortcut to create new windows
- Implement window state persistence (save/restore position and size)
- New windows duplicate the size of the currently focused window with an offset
- Fix Debian package chrome-sandbox permissions via after-install script
- Update build configuration: remove rpm, add author email
This commit is contained in:
zudsniper
2025-11-27 23:26:20 -06:00
parent ef412e3d12
commit ce28c3ddb7
9 changed files with 382 additions and 831 deletions
+28 -4
View File
@@ -1,23 +1,47 @@
{
"name": "linear-linux",
"version": "0.2.1",
"version": "0.2.3",
"description": "Linux support for linear.app",
"main": "index.js",
"scripts": {
"start": "npx electron index.js",
"build": "electron-builder --linux AppImage"
"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"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kleo-dev/linear-linux.git"
},
"keywords": [],
"author": "",
"author": "Linear Linux <[email protected]>",
"license": "ISC",
"bugs": {
"url": "https://github.com/kleo-dev/linear-linux/issues"
},
"homepage": "https://github.com/kleo-dev/linear-linux#readme",
"build": {
"appId": "app.linear.linux",
"productName": "Linear",
"files": [
"index.js",
"package.json",
"assets/**/*"
],
"linux": {
"target": [
"AppImage",
"deb"
],
"category": "Utility",
"icon": "assets/linear-app-icon.png",
"afterInstall": "build/after-install.sh"
},
"extraResources": [
{
"from": "assets",
"to": "assets"
}
]
},
"devDependencies": {
"electron": "^33.2.1",
"electron-builder": "^25.1.8"