build stuff

This commit is contained in:
ThaUnknown 2022-03-13 18:56:55 +01:00
parent cbc8de01d6
commit d5dafa1878
7 changed files with 18 additions and 5 deletions

View file

@ -27,9 +27,22 @@
"env": "browser"
},
"build": {
"productName": "Miru",
"files": [
"src/**/*"
]
],
"win": {
"target": "nsis",
"icon": "src/renderer/public/logo.ico"
},
"linux": {
"target": "AppImage"
},
"nsis": {
"installerIcon": "src/renderer/public/logo.ico",
"installerHeaderIcon": "src/renderer/public/logo.ico",
"deleteAppDataOnUninstall": true
}
},
"dependencies": {
"anitomyscript": "^2.0.4",

View file

@ -34,7 +34,7 @@ function createWindow () {
enableRemoteModule: true,
backgroundThrottling: false
},
icon: path.join(__dirname, '/renderer/public/favicon.ico'),
icon: path.join(__dirname, '/renderer/public/logo.ico'),
show: false
})
// mainWindow.removeMenu()
@ -69,7 +69,7 @@ function createWindow () {
// Open the DevTools and also disable Electron Security Warning.
process.env.ELECTRON_DISABLE_SECURITY_WARNINGS = true
mainWindow.webContents.openDevTools()
// mainWindow.webContents.openDevTools()
// Emitted when the window is closed.
mainWindow.on('closed', function () {

View file

@ -7,7 +7,7 @@
<meta name="theme-color" content="#191c20">
<title>Miru</title>
<link rel='icon' href='/favicon.ico'>
<link rel='icon' href='/logo.ico'>
<link href='/lib/halfmoon.css' rel='stylesheet'>
<link href="/lib/Material-Icons.css" rel="stylesheet">

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View file

@ -150,7 +150,7 @@
align-items: center;
}
:not(.brand) img {
.sidebar-link:not(.brand) img {
font-size: 2.2rem;
width: 3rem;
height: 3rem;