Commit Graph

5 Commits

Author SHA1 Message Date
CanbiZ
d34b00cd41
Update filebrowser-quantum.sh configuration paths 2025-10-20 08:50:41 +02:00
CanbiZ
0d1dceacba
Filebrowser-Quantum: fix initial config to newer version
Refactor message functions for conciseness and clarity. Update installation and update logic for the application.
2025-10-20 08:41:17 +02:00
Paladin
4182815b4c
FileBrowser Quantum: safer update (tmp download + atomic replace + arch autodetect) (#7174)
* FileBrowser Quantum: safer update (tmp download + atomic replace + arch autodetect)

**What**
Safer updater for FileBrowser Quantum addon:
- Download to temp file, then atomic `mv` into INSTALL_PATH
- Stop/start service around the swap
- CPU arch autodetect (amd64/arm64/armv7/armv6)
- Proper error handling & version verification before printing success

**Why**
Current update streams `curl` directly to `/usr/local/bin/filebrowser` and prints success even if `curl` fails.
I hit:

* fix(filebrowser-quantum): add missing `fi` before install section

Closes the conditional started with `if [[ -f "$INSTALL_PATH" ]]` so the script doesn’t hit a bash syntax error when reaching the install path.

* refactor(update): minimal fix - temp file + atomic mv; amd64 only

* style(update): remove comments/blank lines; drop restart (alpine-safe)
2025-08-25 19:14:01 +02:00
CanbiZ
be64a6700d
Filebrowser: change exclude "folders" to "folderPaths" (#5576) 2025-06-30 12:12:14 +02:00
CanbiZ
fc4a46b72d
FileBrowser Quantum (#5248) 2025-06-18 18:17:40 +02:00