1
0
mirror of https://github.com/pooneyy/1Panel-Appstore.git synced 2026-03-18 04:31:05 +08:00

16 Commits

Author SHA1 Message Date
pooneyy
0911330fcc
chore(update_local_appstore): add new git mirror sites
- add some new git mirror site URLs to the mirror_sites associative array for improved redundancy and availability
2026-03-14 20:18:02 +08:00
pooneyy
b0801f3383
chore(update_local_appstore): add multiple new mirror site support
- add gitlab mirror site (gitlab.com/pooneyy1/1panel-appstore.git)
- add gitlink mirror site (gitlink.org.cn/pooneyy/1Panel-Appstore.git)
2026-03-14 20:14:59 +08:00
pooneyy
84d3acf0e5
refactor(update_local_appstore): remove deprecated github proxy url
- remove 'https://kkgithub.com' from repo_prefixs list as it is no longer functional or required
2026-03-14 20:08:51 +08:00
pooneyy
335f800b10
feat(update_local_appstore): add clone-source and dry-run options
- add --clone-source parameter to specify specific git sources (github, mirror, codeberg, forgejo, gitea)
- add --dry-run parameter to preview actions without making changes
- add comprehensive dry-run output showing URLs to clone and copy operations
- restructure mirror repositories into a associative array for better source management
- implement source validation and deduplication logic
- update both English and Chinese message strings for new features
2026-03-03 23:45:49 +08:00
pooneyy
8eec3816df
feat(update_local_appstore): optimize repository URL handling and add random sorting for independent repos
- restructure repository URL list generation by separating prefix-based and independent repositories
- move temporary directory creation and cleanup trap after URL list generation for better logical flow
- create local apps directory before processing to prevent runtime errors
- implement Fisher-Yates shuffle algorithm to randomize independent repository order
- combine all repository URLs into single array for unified processing
- update clone failure check to use total URL count instead of prefix count
2026-03-03 19:27:43 +08:00
pooneyy
13b853bdc9
docs(update_local_appstore): update error message for 1panel path
- improve error message for missing 1panel installation path in both Chinese and English
- add usage example to guide users on how to specify the path correctly
2026-03-03 19:27:41 +08:00
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
74d7b6b23c
Create get_image_size.sh 2025-09-03 06:14:47 +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