Replace rust version of this with frontend logic

This commit is contained in:
2026-02-14 13:03:31 -07:00
parent 70433b76ab
commit 81d47ea71d
5 changed files with 37 additions and 33 deletions

View File

@@ -45,6 +45,7 @@ import {
requestPermission
} from '@tauri-apps/plugin-notification'
import { BaseDirectory, exists, remove } from '@tauri-apps/plugin-fs'
import { openFolder } from '@/lib/Util'
const roboto = Roboto({
subsets: ['latin']
@@ -930,9 +931,7 @@ export default function RootLayout ({
<button
className='button btntheme2'
onClick={async () =>
invoke('open_folder', {
name: managingVersion
})
openFolder(managingVersion)
}
title="Click to browse the game's files."
>