Skip to content

Commit a826ed8

Browse files
committed
Fix Electron import
1 parent 0e59d02 commit a826ed8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rollup.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ const mainBundles = isLite
137137
`
138138
if (process.platform === 'linux' && process.env.OZONE_PLATFORM !== 'x11') {
139139
console.log('Relaunching to force X11...');
140-
app.relaunch({
140+
require('electron').app.relaunch({
141141
args: process.argv.slice(1),
142142
env: {
143143
...process.env,

0 commit comments

Comments
 (0)