fix: add windows install loading gif (#2462)

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

No files matched your search

+1 -1
View File
@@ -94,7 +94,7 @@ module.exports = {
config: {
name: 'AFFiNE',
setupIcon: icoPath,
// loadingGif: './resources/icons/loading.gif',
loadingGif: './resources/icons/affine_installing.gif',
},
},
],
+1
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