diff --git a/main.js b/main.js index 4cc0a1a..1780184 100644 --- a/main.js +++ b/main.js @@ -153,10 +153,11 @@ function createWindow() { }, }); - win.loadURL(`${store.get("enterprise-or-normal")}`, { - userAgent: - "Mozilla/5.0 (x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36", - }); + if (store.get("enterprise-or-normal") === undefined) { + win.loadURL("https://agam778.github.io/MS-Office-Electron/loading"); + } else { + win.loadURL(store.get("enterprise-or-normal")); + } } app.whenReady().then(createWindow); diff --git a/package.json b/package.json index b56e004..60ed1f1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ms-office-electron", - "version": "0.3.5", + "version": "0.3.6", "description": "An Unofficial Microsoft Office Online Desktop Client. Free of Cost.", "main": "main.js", "repository": {