refactor: rename Chrome references to Chromium
- Rename hook file: 0060-install-chrome -> 0060-install-chromium - Update all logs and comments to say "Chromium" instead of "Chrome" - Rename chromeStatus -> chromiumStatus in daemon - Update UI to show "Chromium Browser" instead of "Chrome Browser" - Update documentation (readme.plan.md, readme.hints.md) Note: Binary paths (/opt/chromium/chrome) remain as the actual Chromium executable is named "chrome"
This commit is contained in:
@@ -44,7 +44,7 @@ When "Install EcoOS" is selected:
|
||||
When "EcoOS Live" is selected:
|
||||
1. Boots into RAM (squashfs)
|
||||
2. eco-daemon starts via systemd
|
||||
3. Sway + Chrome should start
|
||||
3. Sway + Chromium should start
|
||||
4. **No persistent storage** - changes lost on reboot
|
||||
|
||||
### After Installation (Normal Boot)
|
||||
@@ -52,7 +52,7 @@ When "EcoOS Live" is selected:
|
||||
2. eco-daemon.service starts
|
||||
3. Daemon writes Sway config to `~/.config/sway/config`
|
||||
4. Daemon starts Sway compositor
|
||||
5. Daemon starts Chrome in kiosk mode pointing to localhost:3006
|
||||
5. Daemon starts Chromium in kiosk mode pointing to localhost:3006
|
||||
6. Management UI serves on port 3006
|
||||
|
||||
## Architecture
|
||||
@@ -63,7 +63,7 @@ eco_os/
|
||||
│ └── ts/
|
||||
│ ├── daemon/
|
||||
│ │ ├── index.ts # Main daemon orchestration
|
||||
│ │ ├── process-manager.ts # Sway/Chrome process control
|
||||
│ │ ├── process-manager.ts # Sway/Chromium process control
|
||||
│ │ └── system-info.ts # CPU/memory stats
|
||||
│ └── ui/
|
||||
│ └── server.ts # HTTP server + WebSocket
|
||||
@@ -73,7 +73,7 @@ eco_os/
|
||||
│ │ ├── hooks/normal/ # Chroot hooks (MUST BE EXECUTABLE)
|
||||
│ │ │ ├── 0050-setup-ecouser.hook.chroot
|
||||
│ │ │ ├── 0055-fix-networkmanager.hook.chroot
|
||||
│ │ │ ├── 0060-install-chrome.hook.chroot # Installs Chrome
|
||||
│ │ │ ├── 0060-install-chromium.hook.chroot # Installs Chromium
|
||||
│ │ │ └── 0100-enable-services.hook.chroot
|
||||
│ │ ├── includes.chroot/ # Files copied into ISO
|
||||
│ │ │ ├── etc/
|
||||
@@ -104,7 +104,7 @@ Features:
|
||||
- 1920x1080 resolution
|
||||
- No window borders
|
||||
- All windows forced fullscreen
|
||||
- Chrome app_id rules for fullscreen
|
||||
- Chromium app_id rules for fullscreen
|
||||
|
||||
### Chromium Launch
|
||||
Command: `chromium-browser` (or `chromium`)
|
||||
@@ -117,7 +117,7 @@ Flags:
|
||||
|
||||
### Port 3006 Management UI
|
||||
- Serves HTML dashboard
|
||||
- Shows Sway/Chrome status
|
||||
- Shows Sway/Chromium status
|
||||
- Shows CPU/memory stats
|
||||
- Shows daemon logs
|
||||
- WebSocket for live updates
|
||||
@@ -146,7 +146,7 @@ All files in `isobuild/config/hooks/normal/*.hook.chroot` MUST be executable:
|
||||
chmod +x isobuild/config/hooks/normal/*.hook.chroot
|
||||
```
|
||||
|
||||
If hooks aren't executable, Chrome won't be installed!
|
||||
If hooks aren't executable, Chromium won't be installed!
|
||||
|
||||
## Testing in QEMU
|
||||
|
||||
|
||||
Reference in New Issue
Block a user