mirror of
https://github.com/nuintun/command-manager.git
synced 2025-06-27 18:03:20 +08:00
update files
This commit is contained in:
parent
2cd5c0149f
commit
aeff3080ba
@ -257,7 +257,7 @@ AppConfigure.prototype = {
|
||||
title: this.title,
|
||||
defaultPath: TEMPCONFIGUREPATH,
|
||||
properties: ['openFile'],
|
||||
filters: [{ name: 'Configure Files', extensions: ['config'] }]
|
||||
filters: [{ name: '配置文件', extensions: ['config'] }]
|
||||
}, function (paths){
|
||||
if (paths) {
|
||||
fs.readFile(paths[0], function (error, configure){
|
||||
@ -300,7 +300,7 @@ AppConfigure.prototype = {
|
||||
dialog.showSaveDialog(this.window, {
|
||||
title: this.title,
|
||||
defaultPath: TEMPCONFIGUREPATH,
|
||||
filters: [{ name: 'Configure Files', extensions: ['config'] }]
|
||||
filters: [{ name: '配置文件', extensions: ['config'] }]
|
||||
}, function (path){
|
||||
if (path) {
|
||||
fs.createReadStream(CONFIGUREPATH)
|
||||
|
Loading…
x
Reference in New Issue
Block a user