mirror of
https://github.com/NoCrypt/migu.git
synced 2026-03-17 00:06:21 +00:00
build stuff
This commit is contained in:
parent
cbc8de01d6
commit
d5dafa1878
7 changed files with 18 additions and 5 deletions
15
package.json
15
package.json
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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 () {
|
||||
|
|
|
|||
|
|
@ -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 |
BIN
src/renderer/public/logo.ico
Normal file
BIN
src/renderer/public/logo.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 106 KiB |
BIN
src/renderer/public/logo_cut.png
Normal file
BIN
src/renderer/public/logo_cut.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
|
|
@ -150,7 +150,7 @@
|
|||
align-items: center;
|
||||
}
|
||||
|
||||
:not(.brand) img {
|
||||
.sidebar-link:not(.brand) img {
|
||||
font-size: 2.2rem;
|
||||
width: 3rem;
|
||||
height: 3rem;
|
||||
|
|
|
|||
Loading…
Reference in a new issue