mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2024-12-25 11:48:21 +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
|
## 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
|
* Change category to utility
|
||||||
|
|
||||||
### v0.0.2-a
|
### v0.0.2-a
|
||||||
|
@ -9,7 +9,10 @@ Small application for zip file manager
|
|||||||
|
|
||||||
## Changle log
|
## 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
|
* Change category to utility
|
||||||
|
|
||||||
### v0.0.2-a
|
### v0.0.2-a
|
||||||
|
File diff suppressed because one or more lines are too long
@ -7,7 +7,7 @@
|
|||||||
"author": "Xuan Sang LE",
|
"author": "Xuan Sang LE",
|
||||||
"email": "mrsang@lxsang.me"
|
"email": "mrsang@lxsang.me"
|
||||||
},
|
},
|
||||||
"version":"0.0.3-a",
|
"version":"0.0.4-a",
|
||||||
"category":"Utility",
|
"category":"Utility",
|
||||||
"iconclass":"fa fa-archive",
|
"iconclass":"fa fa-archive",
|
||||||
"mimes":["application/zip"],
|
"mimes":["application/zip"],
|
||||||
|
Binary file not shown.
@ -20,7 +20,7 @@ class Archive extends this.OS.application.BaseApplication
|
|||||||
item = @filetree.selectedItem
|
item = @filetree.selectedItem
|
||||||
return @notify __("Please select file/folder to extract") unless item
|
return @notify __("Please select file/folder to extract") unless item
|
||||||
treedata = item.data
|
treedata = item.data
|
||||||
@openDialog "FileDialog", { title: __("Select a folder"), mimes: ["dir"] }
|
@openDialog "FileDialog", { title: __("Select a folder"), type: "dir" }
|
||||||
.then (d) =>
|
.then (d) =>
|
||||||
@xtract(treedata, d.file.path)
|
@xtract(treedata, d.file.path)
|
||||||
.then () => @notify __("extract successful: {0}", treedata.path)
|
.then () => @notify __("extract successful: {0}", treedata.path)
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
"author": "Xuan Sang LE",
|
"author": "Xuan Sang LE",
|
||||||
"email": "mrsang@lxsang.me"
|
"email": "mrsang@lxsang.me"
|
||||||
},
|
},
|
||||||
"version":"0.0.3-a",
|
"version":"0.0.4-a",
|
||||||
"category":"Utility",
|
"category":"Utility",
|
||||||
"iconclass":"fa fa-archive",
|
"iconclass":"fa fa-archive",
|
||||||
"mimes":["application/zip"],
|
"mimes":["application/zip"],
|
||||||
|
@ -85,7 +85,7 @@
|
|||||||
"description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/2.0.x/Archive/README.md",
|
"description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/2.0.x/Archive/README.md",
|
||||||
"category": "Utility",
|
"category": "Utility",
|
||||||
"author": "Xuan Sang LE",
|
"author": "Xuan Sang LE",
|
||||||
"version": "0.0.3-a",
|
"version": "0.0.4-a",
|
||||||
"dependencies": [],
|
"dependencies": [],
|
||||||
"download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/2.0.x/Archive/build/release/Archive.zip"
|
"download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/2.0.x/Archive/build/release/Archive.zip"
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user