52 lines
852 B
Python
52 lines
852 B
Python
desktop app
|
|
|
|
secure qtwebengine desktop app
|
|
supports proxy and direct mode
|
|
keeps login/session data between restarts
|
|
blocks external navigation
|
|
blocks popups
|
|
blocks downloads
|
|
rejects bad tls/certificate errors
|
|
keeps a single app instance
|
|
writes logs to local files
|
|
|
|
requirements
|
|
|
|
install:
|
|
|
|
pip install pyside6
|
|
|
|
run
|
|
|
|
python3 main.py
|
|
|
|
or:
|
|
|
|
python main.py
|
|
|
|
setup
|
|
|
|
edit in `main.py` if needed:
|
|
|
|
upstream_url = "https://angel.33.backend-3.com"
|
|
network_mode = "proxy" # "proxy" or "direct"
|
|
|
|
modes
|
|
|
|
proxy mode
|
|
starts a local proxy automatically
|
|
app opens through the local proxy
|
|
|
|
direct mode
|
|
app connects to the upstream url directly
|
|
keeps normal login/chat/session behavior
|
|
|
|
data
|
|
|
|
local app data is stored beside the script or bundled app:
|
|
|
|
angelhome_data/
|
|
logs/
|
|
runtime/
|
|
cache/
|
|
storage/ |