From 5f3e55dcd7e3dd8de8e8be00485f68e6367beed3 Mon Sep 17 00:00:00 2001 From: Christoph Brandau Date: Sat, 11 Jul 2026 20:02:23 +0200 Subject: [PATCH] chore: update package version and enhance build scripts This commit updates the package version to 2026.7.19 and modifies the build scripts to include additional commands for better development workflow. The main window of the application is also set to maximize upon launch. - Updated package version in PKGBUILD - Added new build commands in settings.local.json - Maximized the main application window on startup --- .claude/settings.local.json | 5 ++++- PKGBUILD | 11 +++++++---- src-tauri/src/main.rs | 1 + 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.claude/settings.local.json b/.claude/settings.local.json index b868be2..37e5001 100644 --- a/.claude/settings.local.json +++ b/.claude/settings.local.json @@ -109,7 +109,10 @@ "Bash(bash -n PKGBUILD)", "Bash(makepkg --printsrcinfo)", "Bash(npx tauri *)", - "Bash(echo \"---exit code:$?---\")" + "Bash(echo \"---exit code:$?---\")", + "Bash(git -C /mnt/data/Development/GitLite status --short)", + "Bash(makepkg -f --noconfirm)", + "Bash(tar -tf gitty-2026.7.19-1-x86_64.pkg.tar.zst)" ] } } diff --git a/PKGBUILD b/PKGBUILD index e225738..a54f10c 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,12 +3,9 @@ # Local/in-tree PKGBUILD: builds straight from this working directory (no # source download, no tauri-bundler/AppImage step) and installs the raw # binary + desktop entry. Run `makepkg -si` from the repo root. -# -# Bump pkgver whenever package.json / tauri.conf.json's version changes -# (the release CI keeps those two in sync already). pkgname=gitty -pkgver=2026.7.18 +pkgver=2026.7.19 pkgrel=1 pkgdesc="A lightweight, modern Git client built with Tauri" arch=('x86_64') @@ -21,6 +18,12 @@ options=('!lto') source=() sha256sums=() +# Keeps pkgver in sync with package.json (the release CI bumps that file). +pkgver() { + cd "$startdir" + node -p "require('./package.json').version" +} + build() { cd "$startdir" npm ci diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index bc69414..a49598a 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -33,6 +33,7 @@ fn close_splashscreen(app: tauri::AppHandle) -> Result<(), String> { } if let Some(window) = app.get_webview_window("main") { + let _ = window.maximize(); window .show() .map_err(|error| format!("failed to show main window: {error}"))?;