feat: support release windows installer with squirrel (#1965)

Co-authored-by: Himself65 <himself65@outlook.com>
This commit is contained in:
HorusandHimself65 authored and GitHub committed 2023-04-16 19:28:29 -05:00
1 parent c76bbeab67
commit 134e1e8668
5 files changed
+30 -2

No files matched your search

+1
View File
@@ -7,6 +7,7 @@ import { registerHandlers } from './app-state';
import { restoreOrCreateWindow } from './main-window';
import { registerProtocol } from './protocol';
if (require('electron-squirrel-startup')) app.exit();
if (process.defaultApp) {
if (process.argv.length >= 2) {
app.setAsDefaultProtocolClient('affine', process.execPath, [