Improve hidden files on macOS.
This commit is contained in:
parent
c73af92d4e
commit
2a38a8892c
1 changed files with 2 additions and 2 deletions
|
@ -72,13 +72,13 @@ func selectFileSave(options []Option) (string, error) {
|
||||||
opts := applyOptions(options)
|
opts := applyOptions(options)
|
||||||
|
|
||||||
data := zenutil.File{
|
data := zenutil.File{
|
||||||
Prompt: opts.title,
|
Prompt: opts.title,
|
||||||
|
Invisibles: opts.showHidden,
|
||||||
}
|
}
|
||||||
if opts.directory {
|
if opts.directory {
|
||||||
data.Operation = "chooseFolder"
|
data.Operation = "chooseFolder"
|
||||||
} else {
|
} else {
|
||||||
data.Operation = "chooseFileName"
|
data.Operation = "chooseFileName"
|
||||||
data.Type = initFilters(opts.fileFilters)
|
|
||||||
}
|
}
|
||||||
data.Location, data.Name = splitDirAndName(opts.filename)
|
data.Location, data.Name = splitDirAndName(opts.filename)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue