mirror of
https://github.com/upscayl/upscayl.git
synced 2025-01-19 09:27:27 +01:00
Fixed export error
This commit is contained in:
parent
6a27ff37a4
commit
8ee15fbcdd
@ -28,13 +28,13 @@ let mainWindow;
|
||||
app.on("ready", async () => {
|
||||
await prepareNext("./renderer");
|
||||
|
||||
console.log("🚀 Icon Path: ", join(__dirname, "icon.png"));
|
||||
console.log("🚀 Icon Path: ", join(__dirname, "build", "icon.png"));
|
||||
console.log("🚀 Development Mode? :", isDev);
|
||||
console.log("🚀 RS Executable Path: ", execPath(""));
|
||||
console.log("🚀 Models: ", modelsPath);
|
||||
|
||||
mainWindow = new BrowserWindow({
|
||||
icon: join(__dirname, "build", "icon.png"),
|
||||
icon: join(app.getAppPath(), "icon.png"),
|
||||
width: 1100,
|
||||
height: 740,
|
||||
minHeight: 500,
|
||||
@ -66,7 +66,7 @@ app.on("ready", async () => {
|
||||
|
||||
mainWindow.once("ready-to-show", () => {
|
||||
mainWindow.show();
|
||||
mainWindow.webContents.setZoomFactor(1)
|
||||
mainWindow.webContents.setZoomFactor(1);
|
||||
});
|
||||
|
||||
if (!isDev) {
|
||||
|
@ -1,5 +1,7 @@
|
||||
module.exports = {
|
||||
experimental: {
|
||||
images: {
|
||||
unoptimized: true
|
||||
}
|
||||
}
|
||||
unoptimized: true,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
@ -105,8 +105,7 @@
|
||||
"flatpak",
|
||||
"zip"
|
||||
],
|
||||
"category": "Graphics;2DGraphics;RasterGraphics;ImageProcessing;",
|
||||
"icon": "main/build/icon.png"
|
||||
"category": "Graphics;2DGraphics;RasterGraphics;ImageProcessing;"
|
||||
},
|
||||
"win": {
|
||||
"publish": [
|
||||
|
Loading…
x
Reference in New Issue
Block a user