feat: change icon
1
.gitignore
vendored
|
|
@ -4,7 +4,6 @@
|
|||
# Build output
|
||||
**/dist/
|
||||
**/build/
|
||||
**/public/
|
||||
**/android/
|
||||
|
||||
# Dependencies
|
||||
|
|
|
|||
5
capacitor/.gitignore
vendored
|
|
@ -8,6 +8,11 @@ android/app/src/*
|
|||
android/app/src/main/*
|
||||
!android/app/src/main/AndroidManifest.xml
|
||||
ios/
|
||||
*.jks
|
||||
*.pepk
|
||||
*.bat
|
||||
pepk.jar
|
||||
encryption_public_key.pem
|
||||
|
||||
package-lock.json
|
||||
.env
|
||||
|
|
|
|||
|
|
@ -1,13 +1,12 @@
|
|||
{
|
||||
"name": "capacitor",
|
||||
"version": "1.0.3",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build:native": "cd public/nodejs/ && npm install && docker build -t android-build:latest . && docker run -v ${PWD}:/app/ -it android-build:latest /bin/bash /app/setup-deps.sh",
|
||||
"build:app": "cross-env NODE_ENV=production run-s build:web build:assets build:android",
|
||||
"build:app": "cross-env NODE_ENV=production run-s build:web build:native build:assets",
|
||||
"build:web": "webpack build",
|
||||
"build:android": "cap build android",
|
||||
"build:ios": "cap build ios",
|
||||
"build:assets": "capacitor-assets generate --iconBackgroundColor #17191c00 --iconBackgroundColorDark #17191c00 --splashBackgroundColor #17191c --splashBackgroundColorDark #17191c --android",
|
||||
"build:assets": "capacitor-assets generate --iconBackgroundColor #17191c --iconBackgroundColorDark #17191c --splashBackgroundColor #17191c --splashBackgroundColorDark #17191c --android",
|
||||
"dev:adb-port": "adb reverse tcp:5001 tcp:5001",
|
||||
"dev:ios": "run-p dev:start cap-run:ios",
|
||||
"dev:android": "cap run android",
|
||||
|
|
@ -19,10 +18,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@capacitor/assets": "^3.0.1",
|
||||
"chrome-net": "^3.3.4",
|
||||
"cordova-res": "^0.15.4",
|
||||
"crypto-browserify": "^3.12.0",
|
||||
"hybrid-chunk-store": "^1.2.2",
|
||||
"nodejs-mobile-gyp": "^0.3.1",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"webpack-cli": "^5.1.4",
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
|
|
@ -14,7 +14,7 @@
|
|||
<div class='w-full z-101 navbar bg-transparent border-0 p-0 d-flex'>
|
||||
<div class='d-flex h-full draggable align-items-center text-center'>
|
||||
{#if window.version.platform !== 'darwin'}
|
||||
<img src='./logo.ico' class='position-absolute w-50 h-50 m-10 pointer d-md-block d-none' alt='ico' use:click={close} />
|
||||
<img src='./logo_filled.png' class='position-absolute w-50 h-50 m-10 pointer d-md-block d-none p-5' alt='ico' use:click={close} />
|
||||
{/if}
|
||||
</div>
|
||||
<div class='h-full bg-dark flex-grow-1'>
|
||||
|
|
|
|||
|
|
@ -100,7 +100,7 @@
|
|||
|
||||
<nav class='navbar navbar-fixed-bottom d-block d-md-none border-0 bg-dark'>
|
||||
<div class='navbar-menu h-full d-flex flex-row justify-content-center align-items-center m-0 pb-5' class:animate={page !== 'player'}>
|
||||
<img src='./logo.ico' class='w-50 h-50 m-10 pointer' alt='ico' use:click={close} />
|
||||
<img src='./logo_filled.png' class='w-50 h-50 m-10 pointer p-5' alt='ico' use:click={close} />
|
||||
{#each links as { click: _click, icon, text, image, css, page: _page }, i (i)}
|
||||
<div
|
||||
class='navbar-link navbar-link-with-icon pointer overflow-hidden {css}'
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 106 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 106 KiB After Width: | Height: | Size: 106 KiB |
BIN
common/public/logo_filled.png
Normal file
|
After Width: | Height: | Size: 1 MiB |
|
|
@ -6,7 +6,7 @@
|
|||
version="1.1"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<g aria-label="みる" transform="translate(-57.126038,-41.052238)" style="fill:#e5204c">
|
||||
<g aria-label="みる" transform="matrix(1.8923544,0,0,1.8923544,-125.56938,-95.152054)" style="fill:#e5204c">
|
||||
<path d="m 76.79068,62.020505 -0.733118,1.300869 q -0.865408,-0.479558 -1.802475,-0.903994 -0.799263,1.631599 -1.956817,3.158467 l -1.25126,-0.76619 q 1.113456,-1.394576 1.841061,-2.954517 -0.942579,-0.374827 -2.067059,-0.600825 -0.777214,1.774915 -1.389064,2.359203 -0.61185,0.578777 -1.273309,0.578777 -0.744141,0 -1.273308,-0.529167 -0.529167,-0.529167 -0.529167,-1.30087 0,-0.981164 0.964627,-1.785939 0.97014,-0.810287 2.574178,-0.859897 0.474046,-1.063846 0.881946,-2.166278 -1.510332,0.4079 -2.508032,0.529167 l -0.369315,-1.350478 q 1.670184,-0.198438 4.018363,-0.959116 l 0.617362,1.12448 q -0.01102,0.115756 -1.141017,2.971054 0.986677,0.209462 2.011938,0.600825 0.314193,-1.113456 0.48507,-2.585202 l 1.422137,0.28112 q -0.181901,1.515843 -0.551216,2.844273 1.129993,0.518143 2.028475,1.014238 z m -7.573706,-0.788239 q -0.650435,0.132292 -1.025262,0.512631 -0.369314,0.374826 -0.369314,0.677995 0,0.319705 0.314193,0.319705 0.159852,0 0.474045,-0.380339 0.319706,-0.380339 0.606338,-1.129992 z" />
|
||||
<path d="m 83.118637,59.325059 q 0.48507,-0.115755 0.942579,-0.115755 1.367016,0 2.171791,0.926042 0.810287,0.920531 0.810287,2.171791 0,1.394576 -1.063846,2.287546 -1.058335,0.887457 -2.689934,0.887457 -1.27882,0 -2.039498,-0.617362 -0.755166,-0.617361 -0.755166,-1.488282 0,-0.749654 0.545704,-1.25126 0.551215,-0.501607 1.295357,-0.501607 1.433161,0 2.37574,2.033987 0.837848,-0.396876 0.837848,-1.284333 0,-1.769403 -1.934767,-1.769403 -1.069359,0 -1.934768,0.474045 -0.865409,0.474046 -2.149742,1.890671 l -1.096919,-1.080383 q 2.596226,-2.463935 4.497921,-4.503434 -1.58199,0.159853 -2.745055,0.132292 l -0.28112,-1.477258 q 0.424436,0.02205 0.865409,0.02205 1.741842,0 4.056948,-0.385851 l 0.68902,1.152041 q -0.9977,1.074871 -2.397789,2.497008 z m 0.170877,4.718408 q -0.474045,-0.992189 -0.953603,-0.992189 -0.35829,0 -0.35829,0.308681 0,0.259071 0.336241,0.474046 0.341754,0.209462 0.975652,0.209462 z" />
|
||||
</g>
|
||||
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.3 KiB |
|
|
@ -84,7 +84,7 @@ module.exports = (parentDir, alias = {}, aliasFields = 'browser', filename = 'ap
|
|||
|
||||
<!-- <link rel="preconnect" href="https://www.youtube-nocookie.com"> -->
|
||||
<link rel="preconnect" href="https://graphql.anilist.co">
|
||||
<link rel='icon' href='/logo.ico'>
|
||||
<link rel='icon' href='/logo_filled.png' type="image/png" >
|
||||
${htmlWebpackPlugin.tags.headTags}
|
||||
</head>
|
||||
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 1 MiB |
|
|
@ -38,7 +38,7 @@ function createWindow () {
|
|||
backgroundThrottling: false,
|
||||
preload: path.join(__dirname, '/preload.js')
|
||||
},
|
||||
icon: path.join(__dirname, '/logo.ico'),
|
||||
icon: path.join(__dirname, '/logo_filled.png'),
|
||||
show: false
|
||||
})
|
||||
new Discord(mainWindow)
|
||||
|
|
@ -84,7 +84,7 @@ function createWindow () {
|
|||
mainWindow.webContents.on('render-process-gone', (e, { reason }) => {
|
||||
if (reason === 'crashed') {
|
||||
if (++crashcount > 10) {
|
||||
dialog.showMessageBox({ message: 'Crashed too many times.', title: 'Miru', detail: 'App crashed too many times. For a fix visit https://github.com/ThaUnknown/miru/blob/master/docs/faq.md#miru-crashed-too-many-times', icon: '/renderer/public/logo.ico' }).then(() => {
|
||||
dialog.showMessageBox({ message: 'Crashed too many times.', title: 'Miru', detail: 'App crashed too many times. For a fix visit https://github.com/ThaUnknown/miru/blob/master/docs/faq.md#miru-crashed-too-many-times', icon: '/renderer/public/logo_filled.png' }).then(() => {
|
||||
shell.openExternal('https://github.com/ThaUnknown/miru/blob/master/docs/faq.md#miru-crashed-too-many-times')
|
||||
app.quit()
|
||||
})
|
||||
|
|
|
|||