|
@@ -24,7 +24,7 @@
|
|
temporaryChatEnabled,
|
|
temporaryChatEnabled,
|
|
isLastActiveTab,
|
|
isLastActiveTab,
|
|
isApp,
|
|
isApp,
|
|
- appVersion
|
|
|
|
|
|
+ appInfo
|
|
} from '$lib/stores';
|
|
} from '$lib/stores';
|
|
import { goto } from '$app/navigation';
|
|
import { goto } from '$app/navigation';
|
|
import { page } from '$app/stores';
|
|
import { page } from '$app/stores';
|
|
@@ -203,12 +203,12 @@
|
|
onMount(async () => {
|
|
onMount(async () => {
|
|
if (window?.electronAPI) {
|
|
if (window?.electronAPI) {
|
|
const res = await window.electronAPI.send({
|
|
const res = await window.electronAPI.send({
|
|
- type: 'version'
|
|
|
|
|
|
+ type: 'info'
|
|
});
|
|
});
|
|
|
|
|
|
if (res) {
|
|
if (res) {
|
|
isApp.set(true);
|
|
isApp.set(true);
|
|
- appVersion.set(res.version);
|
|
|
|
|
|
+ appInfo.set(res);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|