fix: add windows install loading gif (#2462)

This commit is contained in:
Horus
2023-05-21 16:03:48 +08:00
committed by GitHub
parent 66ea97c7c9
commit 1f510799e2
3 changed files with 2 additions and 1 deletions

View File

@@ -94,7 +94,7 @@ module.exports = {
config: {
name: 'AFFiNE',
setupIcon: icoPath,
// loadingGif: './resources/icons/loading.gif',
loadingGif: './resources/icons/affine_installing.gif',
},
},
],

View File

@@ -10,6 +10,7 @@ import { logger } from './logger';
import { restoreOrCreateWindow } from './main-window';
import { registerProtocol } from './protocol';
if (require('electron-squirrel-startup')) app.quit();
// allow tests to overwrite app name through passing args
if (process.argv.includes('--app-name')) {
const appNameIndex = process.argv.indexOf('--app-name');

Binary file not shown.

After

Width:  |  Height:  |  Size: 480 KiB