mirror of
https://github.com/agam778/MS-365-Electron.git
synced 2026-02-17 09:02:10 +00:00
v0.3.6
Fix app not loading if user didnt select an option to load which version of MS-Office to load
This commit is contained in:
9
main.js
9
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);
|
||||
|
||||
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user