Fix browser detection and remove standalone configuration script

- Rewrite browser detection to check config directories instead of commands
- Fix Brave browser detection and configuration (was not being reported)
- Add proper support for Chromium installed via snap
- Separate detection for each browser (Firefox, Brave, Chrome, Chromium)
- Each browser now reports configuration success individually
- Remove standalone configure-apps-for-tmpfs.sh script per user request
- Keep all functionality in the all-in-one optimizer script
- Update README to remove reference to standalone script

Fixes:
- Brave browser now properly detected via ~/.config/BraveSoftware
- Chromium detected even when installed as snap package
- All browsers report their configuration status
- Cleaner, more reliable directory-based detection
This commit is contained in:
mindesbunister
2025-10-06 09:33:10 +02:00
parent 03153f2380
commit 642c8c64ff
3 changed files with 55 additions and 315 deletions

View File

@@ -19,7 +19,6 @@ The **one-button optimizer** is an intelligent, interactive system optimizer tha
### Quick Tools
- `./one-button-optimizer.sh` - **Main interactive optimizer** (recommended)
- `./configure-apps-for-tmpfs.sh` - **Configure applications** to use tmpfs caches (browsers, dev tools)
- `./quick-status-check.sh` - **Quick system status** overview (no changes)
- `./tmpfs-info.sh` - **Detailed tmpfs information** and configuration guide
- `./launcher.sh` - **Auto-sudo launcher** for the optimizer