-
-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathsetup.sh
executable file
·60 lines (49 loc) · 1.26 KB
/
setup.sh
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
sudo apt update
sudo apt install \
python3.12 \
python3.12-dev \
python3.12-venv \
python3.12-distutils
curl -LsSf https://astral.sh/uv/install.sh | sh
sudo apt install \
libwebkit2gtk-4.1-dev \
build-essential \
curl \
wget \
file \
libssl-dev \
libayatana-appindicator3-dev \
librsvg2-dev
uv venv --python python3.12
source .venv/bin/activate
uv pip install --upgrade setuptools wheel pyinstaller
uv pip install -r requirements_linux.txt
wget \
-O backend.py \
https://raw.githubusercontent.com/timmo001/system-bridge-backend/master/systembridgebackend/__main__.py
pyinstaller \
--clean \
--noconfirm \
--onedir \
--windowed \
--icon "resources/system-bridge.png" \
--name "systembridgebackend" \
--collect-all "plyer" \
--collect-all "systembridgebackend" \
--collect-all "systembridgefrontend" \
--collect-all "systembridgeshared" \
--collect-all "typer" \
backend.py
wget \
-O cli.py \
https://raw.githubusercontent.com/timmo001/system-bridge-cli/master/systembridgecli/__main__.py
pyinstaller \
--clean \
--noconfirm \
--onedir \
--icon "resources/system-bridge.png" \
--name "systembridgecli" \
--collect-all "systembridgecli" \
--collect-all "systembridgeshared" \
--collect-all "typer" \
cli.py