fix os type calculation and bump version
This commit is contained in:
@ -1,11 +1,6 @@
|
||||
<script context="module">
|
||||
import { type } from '@tauri-apps/api/os';
|
||||
const osType = await type();
|
||||
</script>
|
||||
|
||||
|
||||
<script>
|
||||
import { invoke } from '@tauri-apps/api/tauri';
|
||||
import { type } from '@tauri-apps/api/os';
|
||||
|
||||
import { appState } from '../lib/state.js';
|
||||
import Nav from '../ui/Nav.svelte';
|
||||
@ -30,6 +25,9 @@
|
||||
$appState.config = await invoke('get_config');
|
||||
}
|
||||
}
|
||||
|
||||
let osType = null;
|
||||
type().then(t => osType = t);
|
||||
</script>
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user