https://github.com/webosbrew/webosbrew-autostart
Input app-based autostart for rooted webOS 3.x and older.
https://github.com/webosbrew/webosbrew-autostart
Last synced: over 1 year ago
JSON representation
Input app-based autostart for rooted webOS 3.x and older.
- Host: GitHub
- URL: https://github.com/webosbrew/webosbrew-autostart
- Owner: webosbrew
- Created: 2023-02-26T11:14:25.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-26T11:38:36.000Z (over 3 years ago)
- Last Synced: 2025-01-13T14:24:11.703Z (over 1 year ago)
- Language: JavaScript
- Size: 151 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
webosbrew-autostart
===================
This is a minimal webosbrew Homebrew Channel autostart application relying on
"Input Apps" functionality.
* Registers itself as an input app - this makes the app launch on next boot
* Binds mounts over /var/lib/eim (where last input app/eligible input apps are
stored) to an alternative path, so input app changes will not be replace
webosbrew-autostart in original storage directory. *This is the crucial part
that makes this work on every reboot.*
* Launches luna://org.webosbrew.hbchannel.service/autostart (which runs as
root and executes all startup hooks/services)
* Removes itself from an input app list to reduce annoyance - this will only
modify our overlay, *not* the underlying storage.
* If last input app in alternative storage is not our autostart app -
automatically launch last running app
**Note:** This is a complete rewrite of https://github.com/kopiro/webosbrew-autostart
Building
--------
```sh
npm install
npm run build
npm run package
# Configure development TV/emulator
node_modules/.bin/ares-setup-device ...
npm run deploy
npm run launch
```