mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2025-01-05 17:53:00 +01:00
cod{e,ium}: wayland works on native packaging
This commit is contained in:
parent
bf6daf410e
commit
0670924dd0
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
set -x
|
set -x
|
||||||
if [ -f /usr/bin/code ]; then
|
if [ -f /usr/bin/code ]; then
|
||||||
/usr/bin/code --verbose --enable-features=WaylandWindowDecorations,UseOzonePlatform,WebContentsForceDark --ozone-platform-hint=x11 "$@"
|
/usr/bin/code --verbose --enable-features=WaylandWindowDecorations,UseOzonePlatform,WebContentsForceDark --ozone-platform-hint=wayland "$@"
|
||||||
|
|
||||||
elif [ -f /snap/bin/code ]; then
|
elif [ -f /snap/bin/code ]; then
|
||||||
# https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1951491/comments/104
|
# https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1951491/comments/104
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
set -x
|
set -x
|
||||||
if [ -f /usr/bin/codium ]; then
|
if [ -f /usr/bin/codium ]; then
|
||||||
/usr/bin/codium --verbose --enable-features=WaylandWindowDecorations,UseOzonePlatform,WebContentsForceDark --ozone-platform=x11 "$@"
|
/usr/bin/codium --verbose --enable-features=WaylandWindowDecorations,UseOzonePlatform,WebContentsForceDark --ozone-platform=wayland "$@"
|
||||||
|
|
||||||
elif [ -f /snap/bin/codium ]; then
|
elif [ -f /snap/bin/codium ]; then
|
||||||
# https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1951491/comments/104
|
# https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1951491/comments/104
|
||||||
|
Loading…
Reference in New Issue
Block a user