react-native-electron-platform 0.0.9 → 0.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/main.mjs +2 -2
- package/src/preload.mjs +1 -1
package/package.json
CHANGED
package/src/main.mjs
CHANGED
|
@@ -489,7 +489,7 @@ function createWindow() {
|
|
|
489
489
|
const { x, y, width, height } = primaryDisplay.bounds;
|
|
490
490
|
|
|
491
491
|
const iconPath = path.join(app.getAppPath(), "electron/icon.ico");
|
|
492
|
-
const preloadPath = path.join(__dirname, "preload.
|
|
492
|
+
const preloadPath = path.join(__dirname, "preload.mjs");
|
|
493
493
|
|
|
494
494
|
mainWindow = new BrowserWindow({
|
|
495
495
|
x,
|
|
@@ -659,4 +659,4 @@ if (!gotTheLock) {
|
|
|
659
659
|
}
|
|
660
660
|
}
|
|
661
661
|
});
|
|
662
|
-
}
|
|
662
|
+
}
|
package/src/preload.mjs
CHANGED