Add desktop/README.md
This commit is contained in:
parent
3381f36412
commit
8c3b68bc89
71
desktop/README.md
Normal file
71
desktop/README.md
Normal file
@ -0,0 +1,71 @@
|
||||
```md
|
||||
# angelhome
|
||||
|
||||
desktop app for angelhome
|
||||
|
||||
`main.py` opens site in a locked qtwebengine browser instead of normal browser.
|
||||
|
||||
## compatible with
|
||||
|
||||
- linux
|
||||
- pyside6
|
||||
- qtwebengine
|
||||
|
||||
### does
|
||||
|
||||
- allows only the approved https host
|
||||
- blocks external navigation
|
||||
- blocks popups
|
||||
- blocks downloads
|
||||
- denies browser permission requests
|
||||
- rejects bad tls/certificate errors
|
||||
- keeps a single app instance
|
||||
- stores login/session data beside the app, keeps between restarts
|
||||
- logs startup/runtime errors
|
||||
|
||||
### requirements
|
||||
|
||||
install python packages:
|
||||
|
||||
```bash
|
||||
pip install PySide6
|
||||
```
|
||||
|
||||
### run with python
|
||||
|
||||
```bash
|
||||
python3 main.py
|
||||
```
|
||||
|
||||
or:
|
||||
|
||||
```bash
|
||||
python main.py
|
||||
```
|
||||
|
||||
## log output
|
||||
|
||||
```text
|
||||
angelhome_data/logs/angelhome.out.log
|
||||
```
|
||||
|
||||
## persistent data
|
||||
|
||||
local app data is stored beside the script or bundled binary:
|
||||
|
||||
```text
|
||||
angelhome_data/
|
||||
logs/
|
||||
runtime/
|
||||
cache/
|
||||
storage/
|
||||
```
|
||||
|
||||
this is used for:
|
||||
|
||||
- session persistence
|
||||
- cache
|
||||
- logs
|
||||
- runtime lock file
|
||||
|
||||
```
|
||||
Loading…
x
Reference in New Issue
Block a user