File tree Expand file tree Collapse file tree 1 file changed +24
-22
lines changed
Expand file tree Collapse file tree 1 file changed +24
-22
lines changed Original file line number Diff line number Diff line change @@ -28,26 +28,27 @@ setup_deb822_repo \
2828 " any" \
2929 " main"
3030
31- $STD apt-get install -y \
32- git \
33- ratpoison \
34- virtualgl \
35- turbovnc \
36- websockify \
37- libnss3 \
38- libnspr4 \
39- libatk1.0-0 \
40- libatk-bridge2.0-0 \
41- libcups2 \
42- libxkbcommon0 \
43- libatspi2.0-0 \
44- libxcomposite1 \
45- libgbm1 \
46- libpango-1.0-0 \
47- libcairo2 \
48- libasound2 \
49- libxfixes3 \
50- libxdamage1
31+ install_packages_with_retry \
32+ " git" \
33+ " ratpoison" \
34+ " virtualgl" \
35+ " turbovnc" \
36+ " websockify" \
37+ " libnss3" \
38+ " libnspr4" \
39+ " libatk1.0-0" \
40+ " libatk-bridge2.0-0" \
41+ " libcups2" \
42+ " libxkbcommon0" \
43+ " libatspi2.0-0" \
44+ " libxcomposite1" \
45+ " libgbm1" \
46+ " libpango-1.0-0" \
47+ " libcairo2" \
48+ " libasound2" \
49+ " libxfixes3" \
50+ " libxdamage1"
51+
5152msg_ok " Installed Dependencies"
5253
5354NODE_VERSION=" 22" setup_nodejs
@@ -65,9 +66,10 @@ msg_info "Installing NPM Packages"
6566$STD npm install
6667$STD npx patchright install chromium --no-shell
6768msg_ok " Installed NPM Packages"
69+
70+ # Install noVNC after patchright to avoid conflicts
6871msg_info " Install noVNC"
69- $STD apt-get install -y novnc
70- $STD apt-get autoremove -y
72+ install_packages_with_retry novnc
7173msg_ok " Installed noVNC"
7274$STD ln -s /usr/share/novnc/vnc_auto.html /usr/share/novnc/index.html
7375
You can’t perform that action at this time.
0 commit comments