mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2024-11-08 06:28:29 +01:00
Archive: fix file dialog bug when extract zip content
This commit is contained in:
parent
7292d2ef21
commit
545f630b0e
@ -9,7 +9,10 @@ Small application for zip file manager
|
||||
|
||||
## Changle log
|
||||
|
||||
### v0.0.2-a
|
||||
### v0.0.4-a
|
||||
* Fix file dialog bug when extract zip content
|
||||
|
||||
### v0.0.3-a
|
||||
* Change category to utility
|
||||
|
||||
### v0.0.2-a
|
||||
|
@ -9,7 +9,10 @@ Small application for zip file manager
|
||||
|
||||
## Changle log
|
||||
|
||||
### v0.0.2-a
|
||||
### v0.0.4-a
|
||||
* Fix file dialog bug when extract zip content
|
||||
|
||||
### v0.0.3-a
|
||||
* Change category to utility
|
||||
|
||||
### v0.0.2-a
|
||||
|
File diff suppressed because one or more lines are too long
@ -7,7 +7,7 @@
|
||||
"author": "Xuan Sang LE",
|
||||
"email": "mrsang@lxsang.me"
|
||||
},
|
||||
"version":"0.0.3-a",
|
||||
"version":"0.0.4-a",
|
||||
"category":"Utility",
|
||||
"iconclass":"fa fa-archive",
|
||||
"mimes":["application/zip"],
|
||||
|
Binary file not shown.
@ -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)
|
||||
|
@ -7,7 +7,7 @@
|
||||
"author": "Xuan Sang LE",
|
||||
"email": "mrsang@lxsang.me"
|
||||
},
|
||||
"version":"0.0.3-a",
|
||||
"version":"0.0.4-a",
|
||||
"category":"Utility",
|
||||
"iconclass":"fa fa-archive",
|
||||
"mimes":["application/zip"],
|
||||
|
@ -85,7 +85,7 @@
|
||||
"description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/2.0.x/Archive/README.md",
|
||||
"category": "Utility",
|
||||
"author": "Xuan Sang LE",
|
||||
"version": "0.0.3-a",
|
||||
"version": "0.0.4-a",
|
||||
"dependencies": [],
|
||||
"download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/2.0.x/Archive/build/release/Archive.zip"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user