diff --git a/electron/main.cjs b/electron/main.cjs index e5cee66..c627d51 100644 --- a/electron/main.cjs +++ b/electron/main.cjs @@ -31,11 +31,11 @@ function createSplashWindow() { show: false, skipTaskbar: false, backgroundColor: '#101116', - title: 'SOCDOF wird gestartet', + title: 'Starting SOCDOF', icon: process.platform === 'win32' ? path.join(__dirname, '../public/socdof_icon.ico') : path.join(__dirname, '../public/socdof_icon.png'), - webPreferences: { contextIsolation: true, nodeIntegration: false, sandbox: true } + webPreferences: { preload: path.join(__dirname, 'preload.cjs'), contextIsolation: true, nodeIntegration: false, sandbox: true } }); splashWindow.once('ready-to-show', () => { if (splashWindow && !splashWindow.isDestroyed()) splashWindow.show(); diff --git a/electron/splash.html b/electron/splash.html index 50794cd..ec299e2 100644 --- a/electron/splash.html +++ b/electron/splash.html @@ -25,9 +25,40 @@ SOCDOF -Der Arbeitsbereich wird vorbereitet … - +Preparing your workspace... + +
Der Arbeitsbereich wird vorbereitet …
Preparing your workspace...