diff --git a/main.cjs b/main.cjs index 9f1cfdc..9bf94d9 100644 --- a/main.cjs +++ b/main.cjs @@ -9,7 +9,7 @@ function createWindow() { const win = new BrowserWindow({ width: 800, height: 600, - icon: path.join(__dirname, 'public/icon.ico'), + icon: path.join(__dirname, 'public', 'icon.ico') , webPreferences: { preload: path.join(__dirname, 'preload.js'), contextIsolation: true, diff --git a/package.json b/package.json index c33e25c..cfad051 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "version": "0.0.0", "type": "module", "main": "main.cjs", - "description": "Application to design database diagrams.", + "description": "Free, simple, and intuitive online database design tool and SQL generator.", "author": "1ilit", "scripts": { "dev": "vite && npm run electron", @@ -57,18 +57,29 @@ "main.cjs", "preload.js", "package.json", - "node_modules/**/*" + "node_modules/**/*", + "public/icon.ico" ], "win": { "icon": "public/icon.ico", "target": "nsis", "signAndEditExecutable": false }, + "nsis": { + "oneClick": false, + "perMachine": true, + "allowToChangeInstallationDirectory": true, + "createDesktopShortcut": true, + "createStartMenuShortcut": true, + "shortcutName": "drawDB" + }, "mac": { + "icon": "public/icon.icns", "target": "dmg" }, "linux": { - "target": ["AppImage", "deb", "rpm"] + "icon": "public/icon.png", + "target": "AppImage" } }, "devDependencies": { diff --git a/postinstall.cjs b/postinstall.cjs deleted file mode 100644 index 4cde7c4..0000000 --- a/postinstall.cjs +++ /dev/null @@ -1,12 +0,0 @@ -const fs = require('fs'); -const path = require('path'); - -const source = path.join(__dirname, 'node_modules/electron/dist/ffmpeg.dll'); -const destination = path.join(__dirname, 'dist/win-unpacked/ffmpeg.dll'); - -if (fs.existsSync(source)) { - fs.copyFileSync(source, destination); - console.log('ffmpeg.dll copiado exitosamente.'); -} else { - console.error('No se encontró ffmpeg.dll en el directorio de Electron.'); -} diff --git a/public/icon.icns b/public/icon.icns new file mode 100644 index 0000000..defbc3e Binary files /dev/null and b/public/icon.icns differ diff --git a/public/icon.png b/public/icon.png new file mode 100644 index 0000000..ba3c353 Binary files /dev/null and b/public/icon.png differ diff --git a/src/pages/NotFound.jsx b/src/pages/NotFound.jsx index fed225c..d6e6c4d 100644 --- a/src/pages/NotFound.jsx +++ b/src/pages/NotFound.jsx @@ -1,30 +1,25 @@ -import { useLocation } from 'react-router-dom'; - export default function NotFound() { - const location = useLocation(); // Obtiene la ubicación actual - return (
-

Hey there!

+

hey there!

-

Looking for something you couldn't find?

+

looking for something you couldn't find?

- Shoot us an email + shoot us an email {" "} or{" "} - - a message on Discord + + a message on discord


- The page you were looking for: {location.pathname} does not exist. -

-
-

- * To create a relationship, hold the blue dot of a field and drag it - towards the field you want to connect it to. + * to create a relationship hold the blue dot of a field and drag it + towards the field you want to connect it to

);