diff --git a/package.json b/package.json index 142e213..aa91b5d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "easy-rpc", - "version": "3.0.0", + "version": "3.0.1", "description": "A easy discord rpc", "main": "./dist/index.js", "workspaces": [ @@ -89,4 +89,4 @@ "./public/**/*" ], "packageManager": "yarn@3.1.0" -} +} \ No newline at end of file diff --git a/src/index.ts b/src/index.ts index 3fd54c7..373abc4 100644 --- a/src/index.ts +++ b/src/index.ts @@ -42,10 +42,10 @@ export async function createWindow() { IPCListeners.setWindow(mainWindow); - // const homepage = path.join(__dirname, "../public/index.html"); - // await mainWindow.loadFile(homepage); + const homepage = path.join(__dirname, "../public/index.html"); + await mainWindow.loadFile(homepage); - await mainWindow.loadURL("http://localhost:8080"); + // await mainWindow.loadURL("http://localhost:8080"); menu = Menu.buildFromTemplate(MENU_TEMPLATE); Menu.setApplicationMenu(menu); const handleLinks = (event: any, url: string) => {