fixing working directory

This commit is contained in:
David Young
2026-03-21 09:38:39 -06:00
parent a79e627ddf
commit 6b09fc1da3
2 changed files with 5 additions and 0 deletions

View File

@@ -35,4 +35,5 @@ version=1.1.1
git=https://github.com/Waffleslop/POTACAT.git
install=$HOME/.local/bin/POTACAT.AppImage
desktop=$HOME/.local/share/HamPack/desktop/potacat.desktop
gui=true
steps=bash $HOME/.local/share/HamPack/patch-potacat.sh, npm install, npm run dist:linux, mv dist/*.AppImage $HOME/.local/bin/POTACAT.AppImage

View File

@@ -248,6 +248,10 @@ process_app() {
run_steps "$app" "$steps"
install_desktop "$desktop"
save_installed_version "$app" "$version"
# Return to a safe directory after build
cd "$HOME"
echo " $app $version installed successfully."
}