@@ -262,7 +262,7 @@ async function setLinuxSystemProxy(
262262 . join ( ',' ) ,
263263 ] )
264264 await Promise . all ( [ p1 , p2 , p3 , p4 , p5 ] )
265- } else if ( desktop . includes ( 'GNOME' ) ) {
265+ } else if ( [ 'GNOME' , 'XFCE' ] . includes ( desktop ) ) {
266266 const p1 = ignoredError ( Exec , 'gsettings' , [
267267 'set' ,
268268 'org.gnome.system.proxy' ,
@@ -411,7 +411,7 @@ export const GetSystemProxy = async () => {
411411 return socks . replace ( ' ' , ':' )
412412 }
413413 }
414- } else if ( desktop . includes ( 'GNOME' ) ) {
414+ } else if ( [ 'GNOME' , 'XFCE' ] . includes ( desktop ) ) {
415415 const out = await Exec ( 'gsettings' , [ 'get' , 'org.gnome.system.proxy' , 'mode' ] )
416416 if ( out . includes ( 'none' ) ) {
417417 return ''
@@ -483,7 +483,7 @@ export const GetSystemProxyBypass = async () => {
483483 . split ( ',' )
484484 . map ( ( v ) => v . trim ( ) )
485485 . join ( ';' )
486- } else if ( desktop . includes ( 'GNOME' ) ) {
486+ } else if ( [ 'GNOME' , 'XFCE' ] . includes ( desktop ) ) {
487487 const out = await ignoredError ( Exec , 'gsettings' , [
488488 'get' ,
489489 'org.gnome.system.proxy' ,
0 commit comments