update files

This commit is contained in:
nuintun 2015-11-22 12:51:58 +08:00
parent 2cd5c0149f
commit aeff3080ba

View File

@ -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)