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