improve linux compatibility

This commit is contained in:
FTCHD
2025-02-14 09:56:23 +02:00
parent 018c728568
commit 9dad86bd25
4 changed files with 27 additions and 2 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
import { getCurrentWindow } from '@tauri-apps/api/window'
import { ask, message } from '@tauri-apps/plugin-dialog'
import { debug, error, info, trace, warn } from '@tauri-apps/plugin-log'
import { platform } from '@tauri-apps/plugin-os'
import { exit } from '@tauri-apps/plugin-process'
import type { Command } from '@tauri-apps/plugin-shell'
import { validateLicense } from './lib/license'
@@ -41,7 +42,7 @@ async function waitForHydration() {
async function validateInstance() {
const isOnline = navigator.onLine
if (!isOnline) {
if (!isOnline && platform() !== 'linux') {
await ask(
'You are not connected to the internet. Please check your connection and try again.',
{