From 0906abda3c3312f6eb95e261fd725ad74fcf3d32 Mon Sep 17 00:00:00 2001 From: Eric Pyle Date: Sat, 13 Apr 2024 21:48:07 -0500 Subject: [PATCH] try build with client index.html --- package.json | 2 +- src/main/index.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 1647b95..f4cf0ea 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sltt-app", - "version": "1.0.10", + "version": "1.0.11", "description": "Installable SLTT app (Sign Language Translation Tool)", "main": "./out/main/index.js", "author": "sltt-bible.net", diff --git a/src/main/index.ts b/src/main/index.ts index 0ef5b13..52ed0e1 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -35,7 +35,8 @@ function createWindow(): void { if (is.dev) { mainWindow.loadURL('http://localhost:3000/') } else { - mainWindow.loadURL('https://sltt-bible.net') + // mainWindow.loadURL('https://sltt-bible.net') + mainWindow.loadFile(join(__dirname, '../client/index.html')) } }