mirror of
https://github.com/ThaUnknown/miru.git
synced 2026-04-21 03:02:07 +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"
|
"env": "browser"
|
||||||
},
|
},
|
||||||
"build": {
|
"build": {
|
||||||
|
"productName": "Miru",
|
||||||
"files": [
|
"files": [
|
||||||
"src/**/*"
|
"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": {
|
"dependencies": {
|
||||||
"anitomyscript": "^2.0.4",
|
"anitomyscript": "^2.0.4",
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@ function createWindow () {
|
||||||
enableRemoteModule: true,
|
enableRemoteModule: true,
|
||||||
backgroundThrottling: false
|
backgroundThrottling: false
|
||||||
},
|
},
|
||||||
icon: path.join(__dirname, '/renderer/public/favicon.ico'),
|
icon: path.join(__dirname, '/renderer/public/logo.ico'),
|
||||||
show: false
|
show: false
|
||||||
})
|
})
|
||||||
// mainWindow.removeMenu()
|
// mainWindow.removeMenu()
|
||||||
|
|
@ -69,7 +69,7 @@ function createWindow () {
|
||||||
|
|
||||||
// Open the DevTools and also disable Electron Security Warning.
|
// Open the DevTools and also disable Electron Security Warning.
|
||||||
process.env.ELECTRON_DISABLE_SECURITY_WARNINGS = true
|
process.env.ELECTRON_DISABLE_SECURITY_WARNINGS = true
|
||||||
mainWindow.webContents.openDevTools()
|
// mainWindow.webContents.openDevTools()
|
||||||
|
|
||||||
// Emitted when the window is closed.
|
// Emitted when the window is closed.
|
||||||
mainWindow.on('closed', function () {
|
mainWindow.on('closed', function () {
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
<meta name="theme-color" content="#191c20">
|
<meta name="theme-color" content="#191c20">
|
||||||
<title>Miru</title>
|
<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/halfmoon.css' rel='stylesheet'>
|
||||||
<link href="/lib/Material-Icons.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;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
:not(.brand) img {
|
.sidebar-link:not(.brand) img {
|
||||||
font-size: 2.2rem;
|
font-size: 2.2rem;
|
||||||
width: 3rem;
|
width: 3rem;
|
||||||
height: 3rem;
|
height: 3rem;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue