Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions launcher
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

if [[ ! -n "$DISABLE_WAYLAND" && -n "$WAYLAND_DISPLAY" ]]; then
FLAGS="$FLAGS --enable-features=WaylandWindowDecorations,WebRTCPipeWireCapturer --ozone-platform-hint=auto"
if [ -c /dev/nvidia0 ]; then
FLAGS="$FLAGS --disable-gpu-sandbox"
fi
fi


exec "$SNAP/opt/Upscayl/upscayl" --use-tray-icon --no-sandbox --disable-seccomp-filter-sandbox $FLAGS "$@"
4 changes: 3 additions & 1 deletion snap/gui/upscayl.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ Type=Application
Terminal=false
Exec=upscayl
Name=upscayl
Icon=${SNAP}/usr/share/icons/hicolor/128x128/apps/upscayl.png
Icon=${SNAP}/meta/gui/upscayl.png
PrefersNonDefaultGPU=true
X-KDE-RunOnDiscreteGpu=true
Loading