preload: fix handle preload data arguments
This commit is contained in:
1 parent
32a8c7067a
commit
00ae01dc3f
2 files changed
+15
-4
No files matched your search
@@ -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')
|
||||
|
||||
Reference in new issue
Block a user