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

@@ -11,6 +11,7 @@ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import { ask, message } from '@tauri-apps/plugin-dialog'
import { BaseDirectory, exists, remove } from '@tauri-apps/plugin-fs'
import { writeVersionsConfig } from '@/lib/BazookaManager'
import { openFolder } from '@/lib/Util'
export default function Installs () {
const {
@@ -359,9 +360,7 @@ export default function Installs () {
setSelectedVersionList([entry])
downloadVersions([entry])
} else {
invoke('open_folder', {
name: entry
})
openFolder(entry)
}
}}
hidden={