1
0
Fork 0
Commit Graph

9 Commits

Author SHA1 Message Date
pooneyy ec8246ebda
fix(update_local_appstore): optimize temporary directory cleanup logic
- move temporary directory cleanup outside of conditional block
- ensure cleanup always runs regardless of previous conditions
2026-03-03 19:23:15 +08:00
pooneyy 9251bd7492
feat(update_local_appstore): add internationalization and improve robustness
- add shebang (#!/bin/bash) for explicit shell
- add internationalization support with automatic country detection using curl
- refactor all user messages to use variable-based system for both english and chinese
- add new required command checks (mktemp, printf)
- improve parameter validation for --1panel-path with directory existence check
- add temporary directory cleanup function with trap for interrupt signals
- improve error handling and user feedback throughout the script
2026-03-03 19:23:13 +08:00
pooneyy bbdbf39005
chore(scripts): improve temp directory handling in update script
- replace hardcoded `/tmp/localApps` with `mktemp -d` for secure, unique temporary directory creation
2026-02-28 16:58:47 +08:00
pooneyy f47eae0835
chore(scripts): add new code repository mirror sources
- add codeberg.org as a new mirror source
- add code.forgejo.org as a new mirror source
- add gitea.com as a new mirror source
2026-02-26 23:59:02 +08:00
pooneyy fa97260bf6
feat(script): enhance update script with flexible app selection and cu…
…stom path support

- add parameter parsing for --app and --1panel-path options
- support copying specific apps instead of all apps
- allow custom 1Panel installation path specification
- improve user guidance with detailed usage examples
- maintain backward compatibility with automatic path detection
2025-10-09 03:26:28 +08:00
pooneyy 4d4aa4e1e8
Update update_local_appstore.sh 2025-08-11 20:45:47 +08:00
pooneyy 5910334168
Update update_local_appstore.sh 2025-08-10 15:41:55 +08:00
pooneyy c9f629e589
Update update_local_appstore.sh 2025-08-07 20:05:54 +08:00
pooneyy ca87a72d3f
Create update_local_appstore.sh 2025-06-18 14:29:39 +08:00