diff --git a/app/main.js b/app/main.js index 5313055d..37270f93 100644 --- a/app/main.js +++ b/app/main.js @@ -581,8 +581,11 @@ ipc.on('mkc', (e, arg) => { var platform=process.platform; if(platform=="linux" || platform=="win32" ){ var mkc = fs.readFileSync(__dirname + '/.tkn', 'utf8'); - mainWindow.webContents.send('mkcr', mkc); + + }else{ + var mkc = ""; } + mainWindow.webContents.send('mkcr', mkc); }); ipc.on('export', (e, args) => { fs.writeFileSync(args[0], args[1]);