Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f714f794b9 | ||
|
|
e9a653ae98 | ||
|
|
6d250faed5 | ||
|
|
4966609e45 | ||
|
|
b7491f9a97 | ||
|
|
3e69e77044 |
16
README.md
16
README.md
@@ -66,7 +66,7 @@ Please visit the [releases](https://github.com/joshpatten/PVE-VDIClient/releases
|
|||||||
|
|
||||||
If you need to customize the installation, such as to sign the executable and MSI, you may download and install the [WIX toolset](https://wixtoolset.org/releases/) and use the build_vdiclient.bat file to build a new MSI.
|
If you need to customize the installation, such as to sign the executable and MSI, you may download and install the [WIX toolset](https://wixtoolset.org/releases/) and use the build_vdiclient.bat file to build a new MSI.
|
||||||
|
|
||||||
you will need to download the latest 3.10 python release, and run the following commands to install the necessary packages:
|
you will need to download the latest 3.12 python release, and run the following commands to install the necessary packages:
|
||||||
|
|
||||||
requirements.bat
|
requirements.bat
|
||||||
|
|
||||||
@@ -82,6 +82,18 @@ Run the following commands on a Debian/Ubuntu Linux system to install the approp
|
|||||||
cp vdiclient.py /usr/local/bin
|
cp vdiclient.py /usr/local/bin
|
||||||
chmod +x /usr/local/bin/vdiclient.py
|
chmod +x /usr/local/bin/vdiclient.py
|
||||||
|
|
||||||
|
## Fedora/CentOS/RHEL Installation
|
||||||
|
|
||||||
|
Run the following commands on a Debian/Ubuntu Linux system to install the appropriate prerequisites
|
||||||
|
|
||||||
|
dnf install python3-pip python3-tkinter virt-viewer git
|
||||||
|
git clone https://github.com/joshpatten/PVE-VDIClient.git
|
||||||
|
cd ./PVE-VDIClient/
|
||||||
|
chmod +x requirements.sh
|
||||||
|
./requirements.sh
|
||||||
|
cp vdiclient.py /usr/local/bin
|
||||||
|
chmod +x /usr/local/bin/vdiclient.py
|
||||||
|
|
||||||
## Build Debian/Ubuntu Linux Binary
|
## Build Debian/Ubuntu Linux Binary
|
||||||
|
|
||||||
Run the following commands if you wish to build a binary on a Debian/Ubuntu Linux system
|
Run the following commands if you wish to build a binary on a Debian/Ubuntu Linux system
|
||||||
@@ -94,4 +106,4 @@ Run the following commands if you wish to build a binary on a Debian/Ubuntu Linu
|
|||||||
pip3 install pyinstaller
|
pip3 install pyinstaller
|
||||||
pyinstaller --onefile --noconsole --noconfirm --hidden-import proxmoxer.backends --hidden-import proxmoxer.backends.https --hidden-import proxmoxer.backends.https.AuthenticationError --hidden-import proxmoxer.core --hidden-import proxmoxer.core.ResourceException --hidden-import subprocess.TimeoutExpired --hidden-import subprocess.CalledProcessError --hidden-import requests.exceptions --hidden-import requests.exceptions.ReadTimeout --hidden-import requests.exceptions.ConnectTimeout --hidden-import requests.exceptions.ConnectionError vdiclient.py
|
pyinstaller --onefile --noconsole --noconfirm --hidden-import proxmoxer.backends --hidden-import proxmoxer.backends.https --hidden-import proxmoxer.backends.https.AuthenticationError --hidden-import proxmoxer.core --hidden-import proxmoxer.core.ResourceException --hidden-import subprocess.TimeoutExpired --hidden-import subprocess.CalledProcessError --hidden-import requests.exceptions --hidden-import requests.exceptions.ReadTimeout --hidden-import requests.exceptions.ConnectTimeout --hidden-import requests.exceptions.ConnectionError vdiclient.py
|
||||||
|
|
||||||
Once pyinstaller has finished your binary will be located in dist/vdiclient
|
Once pyinstaller has finished your binary will be located in dist/vdiclient
|
||||||
|
|||||||
@@ -1,24 +1,7 @@
|
|||||||
@echo off
|
@echo off
|
||||||
pyinstaller --noconsole --noconfirm --hidden-import proxmoxer.backends --hidden-import proxmoxer.backends.https --hidden-import proxmoxer.backends.https.AuthenticationError --hidden-import proxmoxer.core --hidden-import proxmoxer.core.ResourceException --hidden-import subprocess.TimeoutExpired --hidden-import subprocess.CalledProcessError --hidden-import requests.exceptions --hidden-import requests.exceptions.ReadTimeout --hidden-import requests.exceptions.ConnectTimeout --hidden-import requests.exceptions.ConnectionError -i vdiicon.ico vdiclient.py
|
pyinstaller --noconsole --noconfirm --hidden-import proxmoxer.backends --hidden-import proxmoxer.backends.https --hidden-import proxmoxer.backends.https.AuthenticationError --hidden-import proxmoxer.core --hidden-import proxmoxer.core.ResourceException --hidden-import subprocess.TimeoutExpired --hidden-import subprocess.CalledProcessError --hidden-import requests.exceptions --hidden-import requests.exceptions.ReadTimeout --hidden-import requests.exceptions.ConnectTimeout --hidden-import requests.exceptions.ConnectionError --noupx -i vdiicon.ico vdiclient.py
|
||||||
copy vdiclient.png dist\vdiclient
|
copy vdiclient.png dist\vdiclient
|
||||||
copy vdiicon.ico dist\vdiclient
|
copy vdiicon.ico dist\vdiclient
|
||||||
del dist\vdiclient\opengl32sw.dll
|
|
||||||
del dist\vdiclient\libGLESv2.dll
|
|
||||||
del dist\vdiclient\d3dcompiler_47.dll
|
|
||||||
del dist\vdiclient\Qt5Pdf.dll
|
|
||||||
del dist\vdiclient\Qt5VirtualKeyboard.dll
|
|
||||||
del dist\vdiclient\Qt5WebSockets.dll
|
|
||||||
del dist\vdiclient\Qt5Quick.dll
|
|
||||||
del dist\vdiclient\PySide2\plugins\imageformats\qgif.dll
|
|
||||||
del dist\vdiclient\PySide2\plugins\imageformats\qjpeg.dll
|
|
||||||
del dist\vdiclient\PySide2\plugins\imageformats\qpdf.dll
|
|
||||||
del dist\vdiclient\PySide2\plugins\imageformats\qsvg.dll
|
|
||||||
del dist\vdiclient\PySide2\plugins\imageformats\qtga.dll
|
|
||||||
del dist\vdiclient\PySide2\plugins\imageformats\qtiff.dll
|
|
||||||
del dist\vdiclient\PySide2\plugins\imageformats\qwbmp.dll
|
|
||||||
del dist\vdiclient\PySide2\plugins\imageformats\qwebp.dll
|
|
||||||
del dist\vdiclient\PySide2\plugins\platforminputcontexts\qtvirtualkeyboardplugin.dll
|
|
||||||
del /Q dist\vdiclient\PySide2\translations\*
|
|
||||||
cd dist
|
cd dist
|
||||||
python createmsi.py vdiclient.json
|
python createmsi.py vdiclient.json
|
||||||
cd ..
|
cd ..
|
||||||
|
|||||||
2
dist/vdiclient.json
vendored
2
dist/vdiclient.json
vendored
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"upgrade_guid" : "46cbad92-353e-4b28-9bee-83950991dad8",
|
"upgrade_guid" : "46cbad92-353e-4b28-9bee-83950991dad8",
|
||||||
"version" : "2.0.1",
|
"version" : "2.0.2",
|
||||||
"product_name" : "VDI Client",
|
"product_name" : "VDI Client",
|
||||||
"manufacturer" : "Josh Patten",
|
"manufacturer" : "Josh Patten",
|
||||||
"name" : "VDI Client",
|
"name" : "VDI Client",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
@echo off
|
@echo off
|
||||||
pip install pyinstaller
|
pip install pyinstaller
|
||||||
pip install proxmoxer
|
pip install proxmoxer
|
||||||
pip install PySimpleGUI
|
pip install "PySimpleGUI<5.0.0"
|
||||||
pip install requests
|
pip install requests
|
||||||
pip install pywin32
|
pip install pywin32
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
pip3 install proxmoxer
|
pip3 install proxmoxer
|
||||||
pip3 install PySimpleGUI
|
pip3 install "PySimpleGUI<5.0.0"
|
||||||
pip3 install requests
|
pip3 install requests
|
||||||
|
|||||||
@@ -515,7 +515,7 @@ def setvmlayout(vms):
|
|||||||
|
|
||||||
def iniwin(inistring):
|
def iniwin(inistring):
|
||||||
inilayout = [
|
inilayout = [
|
||||||
[sg.Multiline(default_text=inistring, size=(800*G.scaling, 600*G.scaling))]
|
[sg.Multiline(default_text=inistring, size=(100, 40))]
|
||||||
]
|
]
|
||||||
iniwindow = sg.Window('INI debug', inilayout)
|
iniwindow = sg.Window('INI debug', inilayout)
|
||||||
while True:
|
while True:
|
||||||
|
|||||||
Reference in New Issue
Block a user