diff --git a/.gitignore b/.gitignore index 6ddf8893..680753f5 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ dist/electron/* dist/web/* build/* +static/themes/* src/muya/dist/ src/muya/node_modules/ coverage diff --git a/src/main/actions/file.js b/src/main/actions/file.js index 393cb923..9d923486 100644 --- a/src/main/actions/file.js +++ b/src/main/actions/file.js @@ -182,7 +182,6 @@ ipcMain.on('AGANI::window::drop', (e, fileList) => { break } // handle import file - console.log(file) if (PANDOC_EXTENSIONS.some(ext => file.endsWith(ext))) { pandocFile(file) break @@ -250,7 +249,7 @@ export const importFile = async win => { const existsPandoc = await pandoc.exists() if (!existsPandoc) { win.webContents.send('AGANI::pandoc-not-exists', { - title: 'Export Warning', + title: 'Import Warning', type: 'warning', message: 'Install pandoc before you want to export files.', time: 10000