fully support tauri v2

This commit is contained in:
Ren Amamiya
2023-07-29 09:28:15 +07:00
parent a1a5544789
commit aca17f104e
23 changed files with 751 additions and 111 deletions

View File

@@ -1,7 +1,7 @@
import { Switch } from '@headlessui/react';
import { disable, enable, isEnabled } from '@tauri-apps/plugin-autostart';
import { useEffect, useState } from 'react';
import { twMerge } from 'tailwind-merge';
import { disable, enable, isEnabled } from 'tauri-plugin-autostart-api';
import { getSetting, updateSetting } from '@libs/storage';

View File

@@ -1,4 +1,4 @@
import { getVersion } from '@tauri-apps/api/app';
import { getVersion } from '@tauri-apps/plugin-app';
import { RefreshIcon } from '@shared/icons';