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 @@ OpenConvert
diff --git a/src/renderer/router/router.js b/src/renderer/router/router.js index bb437c6..16f4c42 100644 --- a/src/renderer/router/router.js +++ b/src/renderer/router/router.js @@ -15,11 +15,6 @@ const routes = [ path: '/history', name: 'history', component: () => import('../src/components/History.vue') - }, - { - path: '/settings', - name: 'settings', - component: () => import('../src/components/Settings.vue') } ] const router = createRouter({ diff --git a/src/renderer/src/assets/main.css b/src/renderer/src/assets/main.css index d2fca86..b03f135 100644 --- a/src/renderer/src/assets/main.css +++ b/src/renderer/src/assets/main.css @@ -1,7 +1,9 @@ @import "tailwindcss"; -@plugin "daisyui"; +@plugin "daisyui"{ + themes: light --default, dark --prefersdark; +} @theme{ --color-midnight:#191e24; --color-background : #222831; -} +} \ No newline at end of file diff --git a/src/renderer/src/components/Plugins.vue b/src/renderer/src/components/Plugins.vue index 7637b37..85c1953 100644 --- a/src/renderer/src/components/Plugins.vue +++ b/src/renderer/src/components/Plugins.vue @@ -50,15 +50,14 @@ async function uninstallPlugin(pluginId) {