diff --git a/src/App.svelte b/src/App.svelte index 286321b..5c27a0d 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -25,9 +25,9 @@ import { dataDir } from '@tauri-apps/api/path'; import { fetch } from '@tauri-apps/api/http'; import { platform } from '@tauri-apps/api/os'; - const platformName = await platform(); async function main() { - const matches = await getMatches(); + const platformName = await platform(); + const matches = await getMatches(); if (matches.args.first.value === false){ // launched without args //message("Join on website please.", "Info");