preload: fix handle preload data arguments

This commit is contained in:
leejooy96 committed 2023-02-08 16:20:39 +09:00
1 parent 32a8c7067a
commit 00ae01dc3f
2 files changed
+15 -4

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ onMounted((): void => {
languages.value = availableLocales
// Get application version from package.json version string (Using IPC communication)
window.mainApi.receive('msgReceivedVersion', (version: string) => {
window.mainApi.receive('msgReceivedVersion', (event: Event, version: string) => {
appVersion.value = version
})
window.mainApi.send('msgRequestGetVersion')