Skip to content

Commit a8775d1

Browse files
committed
Add command line switch
1 parent 67d1cb2 commit a8775d1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rollup.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ const mainBundles = isLite
136136
],
137137
`
138138
if (process.platform === "linux") {
139+
require('electron').app.commandLine.appendSwitch("ozone-platform", "x11");
139140
process.env.XDG_SESSION_TYPE = "x11";
140141
}
141142
`

0 commit comments

Comments
 (0)