-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
setup.ps1
39 lines (34 loc) · 1.04 KB
/
setup.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
pip install --upgrade setuptools wheel pyinstaller
pip install -r requirements_windows.txt
Invoke-WebRequest `
-Uri https://raw.githubusercontent.com/timmo001/system-bridge-backend/master/systembridgebackend/__main__.py `
-OutFile backend.py
pyinstaller `
--clean `
--noconfirm `
--onedir `
--windowed `
--icon "resources/system-bridge.ico" `
--name "systembridgebackend" `
--collect-all "plyer" `
--collect-all "pywin32" `
--collect-all "systembridgebackend" `
--collect-all "systembridgefrontend" `
--collect-all "systembridgeshared" `
--collect-all "systembridgewindowssensors" `
--collect-all "typer" `
--collect-all "winsdk" `
backend.py
Invoke-WebRequest `
-Uri https://raw.githubusercontent.com/timmo001/system-bridge-cli/master/systembridgecli/__main__.py `
-OutFile cli.py
pyinstaller `
--clean `
--noconfirm `
--onedir `
--icon "resources/system-bridge.ico" `
--name "systembridgecli" `
--collect-all "systembridgecli" `
--collect-all "systembridgeshared" `
--collect-all "typer" `
cli.py