mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2025-07-27 03:09:48 +02:00
Archive: fix file dialog bug when extract zip content
This commit is contained in:
@ -20,7 +20,7 @@ class Archive extends this.OS.application.BaseApplication
|
||||
item = @filetree.selectedItem
|
||||
return @notify __("Please select file/folder to extract") unless item
|
||||
treedata = item.data
|
||||
@openDialog "FileDialog", { title: __("Select a folder"), mimes: ["dir"] }
|
||||
@openDialog "FileDialog", { title: __("Select a folder"), type: "dir" }
|
||||
.then (d) =>
|
||||
@xtract(treedata, d.file.path)
|
||||
.then () => @notify __("extract successful: {0}", treedata.path)
|
||||
|
Reference in New Issue
Block a user