Good-bye native dialogs

This commit is contained in:
Cutls
2019-06-26 00:33:20 +09:00
parent 87da95b9a4
commit 3ee4cf27d5
6 changed files with 83 additions and 84 deletions

View File

@@ -51,12 +51,6 @@ function system(mainWindow, dir, lang, dirname) {
fs.writeFileSync(lang_path, arg);
e.sender.webContents.send('langres', "");
})
//クライアントのダイアログ
ipc.on('dialogClient', function (e, args) {
dialog.showMessageBox(args, function (arg) {
e.sender.webContents.send('dialogClientRender', arg);
});
})
//エクスポートのダイアログ
ipc.on('exportSettings', function (e, args) {
dialog.showSaveDialog(null, {