mirror of
https://github.com/garraflavatra/rolens.git
synced 2025-07-15 12:54:06 +00:00
Removed Zenity dependency
This commit is contained in:
@ -1,12 +1,12 @@
|
||||
<script>
|
||||
import { OpenDirectory } from '$wails/go/ui/UI.js';
|
||||
import { ChooseDirectory } from '$wails/go/app/App.js';
|
||||
|
||||
export let value = '';
|
||||
export let id = '';
|
||||
export let title = 'Choose a directory';
|
||||
|
||||
async function selectDir() {
|
||||
value = await OpenDirectory(title) || value;
|
||||
value = await ChooseDirectory(title) || value;
|
||||
}
|
||||
</script>
|
||||
|
||||
|
Reference in New Issue
Block a user