Compare commits
2 Commits
5d59cf8e50
...
be155ae913
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
be155ae913 | ||
|
|
9d43362cae |
13
main.js
13
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'));
|
||||
|
||||
BIN
ui/_/images/fabric.webp
Normal file
BIN
ui/_/images/fabric.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 216 KiB |
@@ -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 */
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user