change globalApi path

This commit is contained in:
kwaroran
2024-10-26 20:40:40 +09:00
parent d575b0817c
commit ffa6308ca3
65 changed files with 87 additions and 87 deletions

View File

@@ -7,7 +7,7 @@ import { readFile } from "@tauri-apps/plugin-fs"
import { basename } from "@tauri-apps/api/path"
import { createBlankChar, getCharImage } from "./characters"
import { getCurrentWebviewWindow } from '@tauri-apps/api/webviewWindow';
import { isTauri } from "./storage/globalApi"
import { isTauri } from "./globalApi"
const appWindow = isTauri ? getCurrentWebviewWindow() : null
export const isFirefox = navigator.userAgent.toLowerCase().indexOf('firefox') > -1