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}"))?;