diff --git a/main.js b/main.js index 5f4eb8f..9208182 100644 --- a/main.js +++ b/main.js @@ -6,13 +6,12 @@ process.env.ELECTRON_DISABLE_SECURITY_WARNINGS = "true"; function createWindow() { const win = new BrowserWindow({ - show: false, // window is hidden - width: 1200, - height: 800, - webPreferences: { - nodeIntegration: true, - contextIsolation: false, - icon: path.join(__dirname, '_', 'fabric.png') + show: false, // window is hidden + width: 1200, + height: 800, + webPreferences: { + nodeIntegration: true, + contextIsolation: false } }); win.loadFile(path.join(__dirname, 'index.html')); diff --git a/ui/_/images/fabric.webp b/ui/_/images/fabric.webp new file mode 100644 index 0000000..25e4343 Binary files /dev/null and b/ui/_/images/fabric.webp differ diff --git a/ui/public/index.html b/ui/public/index.html index a06b9c2..16c4c9c 100644 --- a/ui/public/index.html +++ b/ui/public/index.html @@ -9,7 +9,7 @@ body { font-size: 16px; - background-image: url("/_/images/fabric.png"); + background-image: url("/_/images/fabric.webp"); background-size: 33vw auto; /* width height of each tile */ }