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
+65
View File
@@ -0,0 +1,65 @@
name: Release
on:
workflow_dispatch:
inputs:
bump:
description: "Semver bump (patch, minor, major)"
required: false
default: "patch"
push:
branches:
- release
jobs:
build-and-release:
if: github.actor != 'github-actions[bot]'
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: true
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install dependencies
run: npm ci
- name: Bump version and tag
id: bump
env:
BUMP: ${{ inputs.bump }}
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
npm version "${BUMP:-patch}" -m "chore: release %s"
VERSION=$(node -p "require('./package.json').version")
echo "version=${VERSION}" >> "$GITHUB_OUTPUT"
git push
git push --tags
- name: Build artifacts
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npm run build
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
tag_name: v${{ steps.bump.outputs.version }}
name: Linear v${{ steps.bump.outputs.version }}
draft: false
prerelease: false
files: |
dist/*.AppImage
dist/*.deb
dist/*.rpm