started work on displaying local images in pure js
This commit is contained in:
parent
ad8cd4339b
commit
9983220f89
2 changed files with 9 additions and 11 deletions
|
|
@ -40,7 +40,7 @@ pub fn run() {
|
|||
.setup(|app| {
|
||||
// allowed the given directory
|
||||
let scope = app.fs_scope();
|
||||
scope.allow_directory("/home/toxotes", true);
|
||||
scope.allow_directory(tauri::path::BaseDirectory::Home.variable(), true);
|
||||
app.set_theme(Some(tauri::Theme::Dark));
|
||||
|
||||
Ok(())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue