mirror of
https://gitlab.com/RemixDev/deemix-gui-pyweb.git
synced 2024-12-28 02:16:16 +00:00
Removed confirm_close workaround + repo cleanup
This commit is contained in:
parent
67f7e66b47
commit
f50c55521c
12
README.md
12
README.md
|
@ -11,8 +11,11 @@ NOTES:
|
|||
- You'll need to install cefpython as well: `python3 -m pip install cefpython3 --user`
|
||||
- You also might need [.NET 4.0](https://www.microsoft.com/en-us/download/details.aspx?id=17718) installed
|
||||
|
||||
After installing Python open a terminal/command prompt and install the dependencies using `python3 -m pip install -U -r requirements.txt --user`<br>
|
||||
If you're using git to get this repo you should use `git submodule update --init --recursive` as well. If you're just downloading the archive.zip, make sure you download and extract [deemix-webui](https://codeberg.org/RemixDev/deemix-webui) into the webui folder.<br>
|
||||
After installing Python open a terminal/command prompt in the app folder and install the dependencies using `python3 -m pip install -U -r requirements.txt --user`<br>
|
||||
If you're on linux you can choose if you want to use GTK or QT (GTK is the primary choice, QT is the fallback). Instead of the plain requirements.txt you should use the respective requirements file for the Toolkit you want to use.
|
||||
|
||||
If you're using git to get this repo you should use `git submodule update --init --recursive` as well. If you're just downloading the archive.zip, make sure you download and extract [deemix-webui](https://codeberg.org/RemixDev/deemix-webui) into the webui folder.
|
||||
|
||||
Run `python3 server.py` to start the server and then connect to `127.0.0.1:6595`. The GUI should show up.<br>
|
||||
If you don't want to use your browser you can start the GUI by using `python3 deemix_gui.py`<br>
|
||||
|
||||
|
@ -21,11 +24,6 @@ Having an hard time following these steps? You could try these [tools](https://c
|
|||
## Feature requests
|
||||
Before asking for a feature [check this out](https://codeberg.org/RemixDev/deemix-pyweb/src/branch/main/FEATURES.md)
|
||||
|
||||
## What's left to do?
|
||||
- Add an auto updater
|
||||
- Add installer for windows
|
||||
- AppImage builds
|
||||
|
||||
# License
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -80,7 +80,7 @@ if __name__ == '__main__':
|
|||
w = 800
|
||||
h = 600
|
||||
window = webview.create_window('deemix', 'http://'+url+':'+str(port),
|
||||
confirm_close=True, x=x, y=y, width=w, height=h, text_select=True)
|
||||
x=x, y=y, width=w, height=h, text_select=True)
|
||||
window.closing += save_position
|
||||
if sys.platform == "win32":
|
||||
from webview.platforms.cef import settings
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
deemix>=1.1.28
|
||||
flask
|
||||
flask-socketio
|
||||
pywebview>=3.3.1
|
||||
pywebview>=3.3.2
|
||||
cefpython3; platform_system == "Windows"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
-r requirements.txt
|
||||
PyQt5
|
||||
PyQtWebEngine
|
||||
pywebview[qt]>=3.3.1
|
||||
pywebview[qt]>=3.3.2
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
cd "$(dirname "$0")"
|
||||
source venv/Scripts/activate
|
||||
python deemix_gui.py
|
Loading…
Reference in a new issue