Skip to content

Commit 608a6c3

Browse files
add support for UKUI (#7348)
1 parent 4875b37 commit 608a6c3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

v2rayN/ServiceLib/Sample/proxy_set_linux_sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,11 @@ detect_desktop_environment() {
9595
return
9696
fi
9797

98+
if [[ "$XDG_CURRENT_DESKTOP" == *"UKUI"* ]] || [[ "$XDG_SESSION_DESKTOP" == *"ukui"* ]]; then
99+
echo "gnome"
100+
return
101+
fi
102+
98103
local KDE_ENVIRONMENTS=("KDE" "plasma")
99104
for ENV in "${KDE_ENVIRONMENTS[@]}"; do
100105
if [ "$XDG_CURRENT_DESKTOP" == "$ENV" ] || [ "$XDG_SESSION_DESKTOP" == "$ENV" ]; then

0 commit comments

Comments
 (0)