diff --git a/README.md b/README.md index d70605f..5a3ef2e 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,7 @@ - Tailwindcss - Vite - daisyUI (component library) + - Database Sqlite3 ## How to Contribute We need designer, tester and contributers. **OpenConvert** is prototype. If you want to contribute read [this](./CONTRIBUTING.md) ### Install dependencies diff --git a/package.json b/package.json index e594b63..aa11d0a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "openconvert", - "version": "1.2.0", + "version": "1.3.2", "description": "All in one file converter", "main": "./out/main/index.js", "author": "utmp", diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 3c45195..a713d9b 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -2,3 +2,4 @@ onlyBuiltDependencies: - electron - esbuild - sharp + - sqlite3 diff --git a/src/main/index.js b/src/main/index.js index 997dcab..0d8f04c 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -137,7 +137,6 @@ app.on('window-all-closed', () => { }) // handle document conversion ipcMain.handle("document:convert", async (event, {filename,inputPath,outputPath, options}) => { - console.log('parameters', inputPath,outputPath,filename); try { const isInstalled = await checkPluginInstalled(); if (!isInstalled) { diff --git a/src/main/initPlugin.js b/src/main/initPlugin.js index c490ebc..6264bcc 100644 --- a/src/main/initPlugin.js +++ b/src/main/initPlugin.js @@ -99,16 +99,6 @@ export async function checkPluginInstalled() { if (!exists) { return false; } - await new Promise((resolve, reject) => { - execFile(pluginPath, ['--version'], (error, stdout, stderr) => { - if (error) { - reject(error); - } else { - resolve(stdout); - } - }); - }); - return true; } catch (error) { console.error('Plugin check failed:', error); diff --git a/src/renderer/index.html b/src/renderer/index.html index c54b818..043d6cd 100644 --- a/src/renderer/index.html +++ b/src/renderer/index.html @@ -10,7 +10,7 @@
@@ -68,22 +67,22 @@ async function uninstallPlugin(pluginId) {
by {{ plugin.publisher }}
+by {{ plugin.publisher }}
-{{ plugin.summary }}
+{{ plugin.summary }}
{{ preview.name }}
@@ -436,7 +436,7 @@ onMounted(async() => {