mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-25 18:26:05 +08:00
fix: add windows install loading gif (#2462)
This commit is contained in:
@@ -94,7 +94,7 @@ module.exports = {
|
|||||||
config: {
|
config: {
|
||||||
name: 'AFFiNE',
|
name: 'AFFiNE',
|
||||||
setupIcon: icoPath,
|
setupIcon: icoPath,
|
||||||
// loadingGif: './resources/icons/loading.gif',
|
loadingGif: './resources/icons/affine_installing.gif',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ import { logger } from './logger';
|
|||||||
import { restoreOrCreateWindow } from './main-window';
|
import { restoreOrCreateWindow } from './main-window';
|
||||||
import { registerProtocol } from './protocol';
|
import { registerProtocol } from './protocol';
|
||||||
|
|
||||||
|
if (require('electron-squirrel-startup')) app.quit();
|
||||||
// allow tests to overwrite app name through passing args
|
// allow tests to overwrite app name through passing args
|
||||||
if (process.argv.includes('--app-name')) {
|
if (process.argv.includes('--app-name')) {
|
||||||
const appNameIndex = process.argv.indexOf('--app-name');
|
const appNameIndex = process.argv.indexOf('--app-name');
|
||||||
|
|||||||
BIN
apps/electron/resources/icons/affine_installing.gif
Normal file
BIN
apps/electron/resources/icons/affine_installing.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 480 KiB |
Reference in New Issue
Block a user