File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -612,6 +612,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
612612
613613# # Versions
614614
615+ * **21.03.26:** - Use Wayland ozone platform fixes scaling and acceleration.
615616* **28.12.25:** - Add Wayland init logic.
616617* **10.08.25:** - Rebase to Debian Trixie.
617618* **12.07.25:** - Switch to Selkies base image, HTTPS IS NOW REQUIRED.
Original file line number Diff line number Diff line change @@ -107,6 +107,7 @@ init_diagram: |
107107 "webcord:latest" <- Base Images
108108# changelog
109109changelogs :
110+ - {date: "21.03.26:", desc: "Use Wayland ozone platform fixes scaling and acceleration."}
110111 - {date: "28.12.25:", desc: "Add Wayland init logic."}
111112 - {date: "10.08.25:", desc: "Rebase to Debian Trixie."}
112113 - {date: "12.07.25:", desc: "Switch to Selkies base image, HTTPS IS NOW REQUIRED."}
Original file line number Diff line number Diff line change @@ -7,21 +7,18 @@ if ! pgrep chromium > /dev/null;then
77 rm -f $HOME /.config/chromium/Singleton*
88fi
99
10- # Run normally on privved containers or modified un non priv
11- if grep -q ' Seccomp:.0' /proc/1/status; then
12- ${BIN} \
13- --no-first-run \
14- --password-store=basic \
15- --simulate-outdated-no-au=' Tue, 31 Dec 2099 23:59:59 GMT' \
16- --user-data-dir \
17- " $@ " > /dev/null 2>&1
18- else
19- ${BIN} \
10+ # Wayland check
11+ if pgrep labwc > /dev/null 2>&1 ; then
12+ WAYLAND=" --ozone-platform=wayland"
13+ fi
14+
15+
16+ ${BIN} \
2017 --no-first-run \
2118 --no-sandbox \
2219 --password-store=basic \
2320 --simulate-outdated-no-au=' Tue, 31 Dec 2099 23:59:59 GMT' \
2421 --test-type \
2522 --user-data-dir \
23+ ${WAYLAND} \
2624 " $@ " > /dev/null 2>&1
27- fi
Original file line number Diff line number Diff line change 22
33BIN=/usr/bin/webcord-real
44
5- # Run normally on privved containers or modified un non priv
6- if grep -q ' Seccomp:.0 ' /proc/1/status ; then
7- ${BIN} --password-store=basic " $@ "
8- else
9- ${BIN} --password-store=basic --no-sandbox " $@ "
5+ # Wayland check
6+ if ls -l /dev/dri/ * > /dev/null 2>&1 ; then
7+ if pgrep labwc > /dev/null 2>&1 ; then
8+ WAYLAND= " --ozone-platform=wayland "
9+ fi
1010fi
11+
12+ ${BIN} --password-store=basic ${WAYLAND} --no-sandbox " $@ "
You can’t perform that action at this time.
0 commit comments