invoke commands from menu on mac

This commit is contained in:
Jan Prochazka
2022-04-14 12:33:03 +02:00
parent cc639df566
commit 374c820567
2 changed files with 8 additions and 4 deletions

View File

@@ -17,6 +17,7 @@
import { apiCall } from './utility/api';
import { getConfig, getSettings, getUsedApps } from './utility/metadataLoaders';
import AppTitleProvider from './utility/AppTitleProvider.svelte';
import getElectron from './utility/getElectron';
let loadedApi = false;
let loadedPlugins = false;
@@ -63,6 +64,7 @@
if (loadedApi && $loadingPluginStore?.loaded) {
setAppLoaded();
loadedPlugins = true;
getElectron()?.send('app-started');
}
}
</script>