successfully imports nodeaudio, add yarnrc.yml for registry config
This commit is contained in:
parent
622c705c35
commit
c52ea2bcd2
10 changed files with 302 additions and 45224 deletions
|
|
@ -5,11 +5,11 @@
|
|||
|
||||
"use strict";
|
||||
|
||||
import { app, protocol } from "electron";
|
||||
import { app, protocol, globalShortcut } from "electron";
|
||||
import createWindow from "./window";
|
||||
import main from "./main";
|
||||
import { backgroundMitt } from '@/composables/useEmitter';
|
||||
import {setWindowOpen, getWindowOpen } from './store';
|
||||
import { setWindowOpen, getWindowOpen } from './store';
|
||||
|
||||
console.log('Starting Crimata electron app.');
|
||||
|
||||
|
|
@ -30,6 +30,10 @@ app.on("ready", async () => {
|
|||
await main();
|
||||
});
|
||||
|
||||
app.on("will-quit", () => {
|
||||
globalShortcut.unregisterAll();
|
||||
});
|
||||
|
||||
// Must keep to ensure app doesn't quit on close.
|
||||
app.on("before-quit", async () => {
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue