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
This commit is contained in:
2026-07-11 20:02:23 +02:00
parent fdbff8175e
commit 5f3e55dcd7
3 changed files with 12 additions and 5 deletions
+4 -1
View File
@@ -109,7 +109,10 @@
"Bash(bash -n PKGBUILD)", "Bash(bash -n PKGBUILD)",
"Bash(makepkg --printsrcinfo)", "Bash(makepkg --printsrcinfo)",
"Bash(npx tauri *)", "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)"
] ]
} }
} }
+7 -4
View File
@@ -3,12 +3,9 @@
# Local/in-tree PKGBUILD: builds straight from this working directory (no # Local/in-tree PKGBUILD: builds straight from this working directory (no
# source download, no tauri-bundler/AppImage step) and installs the raw # source download, no tauri-bundler/AppImage step) and installs the raw
# binary + desktop entry. Run `makepkg -si` from the repo root. # 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 pkgname=gitty
pkgver=2026.7.18 pkgver=2026.7.19
pkgrel=1 pkgrel=1
pkgdesc="A lightweight, modern Git client built with Tauri" pkgdesc="A lightweight, modern Git client built with Tauri"
arch=('x86_64') arch=('x86_64')
@@ -21,6 +18,12 @@ options=('!lto')
source=() source=()
sha256sums=() sha256sums=()
# Keeps pkgver in sync with package.json (the release CI bumps that file).
pkgver() {
cd "$startdir"
node -p "require('./package.json').version"
}
build() { build() {
cd "$startdir" cd "$startdir"
npm ci npm ci
+1
View File
@@ -33,6 +33,7 @@ fn close_splashscreen(app: tauri::AppHandle) -> Result<(), String> {
} }
if let Some(window) = app.get_webview_window("main") { if let Some(window) = app.get_webview_window("main") {
let _ = window.maximize();
window window
.show() .show()
.map_err(|error| format!("failed to show main window: {error}"))?; .map_err(|error| format!("failed to show main window: {error}"))?;