Compare commits

..

63 Commits

Author SHA1 Message Date
Agampreet Singh
c7c41729f5 Fix README.md
Former-commit-id: 19078f079f
2021-10-05 13:27:58 +05:30
Agampreet Singh
2c0ba89494 Merge remote-tracking branch 'origin/main' into main
Former-commit-id: 02309d2718
2021-10-05 13:25:07 +05:30
Agampreet Singh
ae77dcc2d8 Add Source code for v0.3.0
Get ready for v0.3.0 bois 🥳🎊🎉

Former-commit-id: 99999e4631
2021-10-05 13:24:44 +05:30
Agampreet Singh
bc3c6425e6 Update README.md
Former-commit-id: 50d3a96d34
2021-09-23 22:08:24 +05:30
Agampreet Singh
10d3aa556c Update README.md
Former-commit-id: e10bc824c7
2021-09-23 22:07:43 +05:30
Agampreet Singh
318e0b0010 Update README.md
Former-commit-id: eb4811f866
2021-09-23 22:05:45 +05:30
Agampreet Singh
c0985aa6e2 Update README.md
Former-commit-id: fd6ddc11f8
2021-09-23 22:04:39 +05:30
Agampreet Singh
420e3ef1f8 Update README.md
Former-commit-id: 2dac23d7b5
2021-09-23 22:00:22 +05:30
Agampreet Singh
c78f84b546 Add Stale Bot Config
Former-commit-id: ef3b101904
2021-09-23 21:44:00 +05:30
Agampreet Singh
4a44b7357e Update README.md
Former-commit-id: adff53c8d1
2021-08-23 17:38:16 +05:30
Agampreet Singh
b4b0f1e119 Update README.md
Former-commit-id: 4b67f527d9
2021-08-23 17:37:53 +05:30
Agampreet Singh
062a6c90ee Update README.md
Former-commit-id: ddbde7b03b
2021-08-23 17:36:51 +05:30
Agampreet Singh
16c8f568a6 Update README.md
Former-commit-id: b816034701
2021-08-23 17:35:53 +05:30
Agampreet Singh
565d2d2bc6 Added Source Code for v0.2.1
Former-commit-id: 36b6360802
2021-08-04 16:24:16 +05:30
Agampreet Singh
428fdf4bb4 Removed old files
Former-commit-id: 5a45e52e53
2021-08-04 16:16:50 +05:30
Agampreet Singh
a38510ce64 Merge branch 'main' of https://github.com/agam778/Microsoft-Office-Electron into main
Former-commit-id: ed62944ac5
2021-07-24 09:04:42 +05:30
Agampreet Singh
6c49b0061e Chnaged default executable name for Linux AppImage Build
Former-commit-id: 643dd3d9b9
2021-07-24 09:04:34 +05:30
Agampreet Singh
755392b419 Update README.md
Former-commit-id: 560275e296
2021-07-22 15:47:29 +05:30
Agampreet Singh
282c17b709 Update README.md
Former-commit-id: 844f8f7716
2021-07-22 15:22:29 +05:30
Agampreet Singh
70b0a5e8c6 Update README.md
Former-commit-id: 64f67b64bd
2021-07-21 12:59:03 +05:30
Agampreet Singh
40bc154c09 Added Files for v0.2.0
Former-commit-id: d8c90e039d
2021-07-21 12:50:18 +05:30
Agampreet Singh
9639e33e54 Removed older version files
Former-commit-id: 103b3e14cc
2021-07-21 12:43:50 +05:30
Agampreet Singh
72de68e3a5 Merge branch 'main' of https://github.com/agam778/Microsoft-Office-Electron into main
Former-commit-id: 3f6b171649
2021-07-21 12:43:21 +05:30
Agampreet Singh
443dab50e0 Added files for v0.2.0
Former-commit-id: fa674d6a1e
2021-07-21 12:42:57 +05:30
Agampreet Singh
889768468e Update README.md
Former-commit-id: 5763fa748a
2021-07-20 10:28:11 +05:30
Agampreet Singh
1469414078 Update README.md
Former-commit-id: 590c71b441
2021-06-26 19:17:58 +05:30
Agampreet Singh
633e6a35df Update README.md
Former-commit-id: 5439e3ed3a
2021-06-26 19:14:55 +05:30
Agampreet Singh
47e3a190f6 Update README.md
Former-commit-id: 5a761b4932
2021-06-26 19:11:36 +05:30
Agampreet Singh
680b5675fa Update README.md
Former-commit-id: 021cc9b6f7
2021-06-26 19:10:45 +05:30
Agampreet Singh
4c02872660 Update README.md
Former-commit-id: bcef931443
2021-06-26 19:00:07 +05:30
Agampreet Singh
be238d6ff4 Update README.md
Former-commit-id: d5105d478f
2021-06-26 18:59:33 +05:30
Agampreet Singh
539340b94c Update README.md
Former-commit-id: 09c1314d62
2021-06-26 18:58:51 +05:30
Agampreet Singh
8e5c80d6bd Update README.md
Former-commit-id: f2ab1e3091
2021-06-26 18:56:49 +05:30
Agampreet Singh
f918fe5d2b Update README.md
Former-commit-id: 243237cecf
2021-06-26 18:55:26 +05:30
Agampreet Singh
c07858666f Update README.md
Former-commit-id: 620be4723e
2021-06-26 18:54:24 +05:30
Agampreet Singh
0c023a20b1 Update README.md
Former-commit-id: 770c6d7bd3
2021-06-24 17:19:08 +05:30
Agampreet Singh
c4681a8cc7 Update README.md
Former-commit-id: c36aad4111
2021-06-24 15:24:20 +05:30
Agampreet Singh
74bf167186 Update README.md
Former-commit-id: 1757b7467b
2021-06-24 13:40:17 +05:30
Agampreet Singh
e167ada71c Updated Source Code for v0.1.1
Former-commit-id: a262e41bfa
2021-06-24 13:23:25 +05:30
Agampreet Singh
0da3232ceb Updated Source code for v0.1.1 build
Former-commit-id: a0817f6431
2021-06-22 10:25:58 +05:30
agam778
276e9dd032 Undone Changes
Former-commit-id: 3e7999cd35
2021-04-07 12:34:15 +05:30
agam778
78c36f77b5 Removed Comment
Former-commit-id: ff266ca8cb
2021-04-07 12:30:31 +05:30
Agampreet Singh
1e6b6e7264 Update README.md
Former-commit-id: bca2611446
2021-04-03 12:46:08 +05:30
Agampreet Singh
04eb37299b Update README.md
Former-commit-id: 1a993837b5
2021-04-03 12:45:01 +05:30
Agampreet Singh
8c803ae672 Update README.md
Former-commit-id: 587deae510
2021-04-03 12:44:29 +05:30
Agampreet Singh
295b365e6c Update README.md
Former-commit-id: 5e76f39f1e
2021-04-03 12:38:32 +05:30
Agampreet Singh
e974a3388c Update README.md
Former-commit-id: ab3adcf9a5
2021-04-03 12:30:49 +05:30
Agampreet Singh
247b661090 Add files via upload
Former-commit-id: 6b07774797
2021-04-03 12:19:48 +05:30
Agampreet Singh
5bb6a1c879 Update README.md
Former-commit-id: 609508dce4
2021-04-03 12:01:56 +05:30
Agampreet Singh
bbb1d4a2b1 Removed Files
Former-commit-id: 7ee8ea11e3
2021-04-03 11:56:10 +05:30
Agampreet Singh
901b31e5c6 Update README.md
Former-commit-id: 83ca2dc9bc
2021-04-02 17:04:35 +05:30
Agampreet Singh
fdbd8a3281 Update README.md
Former-commit-id: 144cf3d7ca
2021-04-02 17:04:05 +05:30
Agampreet Singh
e8150cc19f Update README.md
Former-commit-id: 784866c58c
2021-04-02 16:57:42 +05:30
Agampreet Singh
fad9a5d68d Update README.md
Former-commit-id: 4c2b15e479
2021-04-02 16:56:43 +05:30
Agampreet Singh
a38a5702de Added Preview
Former-commit-id: 956b769408
2021-04-02 16:56:22 +05:30
Agampreet Singh
6970fcf986 Added Linux Code
Former-commit-id: bf44ac7a8e
2021-04-02 16:35:55 +05:30
Agampreet Singh
4359f5eaf2 Merge branch 'main' of https://github.com/agam778/Microsoft-Office-Electron into main 2021-04-02 16:33:51 +05:30
Agampreet Singh
fac9aa14b4 Added Linux Code 2021-04-02 16:33:37 +05:30
Agampreet Singh
6466fbfdf0 Update README.md 2021-04-02 16:31:55 +05:30
Agampreet Singh
a832a36823 Update README.md 2021-04-02 16:28:41 +05:30
Agampreet Singh
a1ba5c9b05 Update README.md 2021-04-02 16:27:36 +05:30
Agampreet Singh
7d4114bded Update README.md 2021-03-27 12:06:25 +05:30
Agampreet Singh
f6c1c80d98 Update README.md 2021-03-26 16:46:40 +05:30
57 changed files with 1367 additions and 295 deletions

17
.github/stale.yml vendored Normal file
View File

@@ -0,0 +1,17 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 30
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
# Issues with these labels will never be considered stale
exemptLabels:
- pinned
- security
# Label to use when marking an issue as stale
staleLabel: stale
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false

Binary file not shown.

After

Width:  |  Height:  |  Size: 232 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 504 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2021 Agampreet Singh
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@@ -0,0 +1,186 @@
const { app, Menu, BrowserWindow, globalShortcut } = require("electron");
const { dialog } = require("electron");
const openAboutWindow = require("about-window").default;
const join = require("path").join;
const isMac = process.platform === "darwin";
const path = require("path");
const electron = require("electron");
const { autoUpdater } = require("electron-updater");
const isOnline = require("is-online");
const template = [
// { role: 'appMenu' }
...(isMac
? [
{
label: app.name,
submenu: [
{ role: "about" },
{ type: "separator" },
{ role: "services" },
{ type: "separator" },
{ role: "hide" },
{ role: "hideothers" },
{ role: "unhide" },
{ type: "separator" },
{ role: "quit" },
],
},
]
: []),
// { role: 'fileMenu' }
{
label: "Application",
submenu: [
{
label: "About MS Office - Electron",
click: () =>
openAboutWindow({
icon_path:
"https://github.com/agam778/MS-Office-Electron/blob/main/icon2.png?raw=true",
product_name: "MS Office - Electron",
copyright: "Copyright (c) 2021 Agampreet Singh Bajaj",
package_json_dir: __dirname,
bug_report_url:
"https://github.com/agam778/Microsoft-Office-Electron/issues/",
bug_link_text: "Report an issue",
adjust_window_size: "2",
show_close_button: "Close",
}),
},
{
label: "Learn More",
click: async () => {
const { shell } = require("electron");
await shell.openExternal(
"https://github.com/agam778/MS-Office-Electron"
);
},
},
{ type: "separator" },
{
role: "quit",
accelerator: process.platform === "darwin" ? "Ctrl+Q" : "Ctrl+Q",
},
],
},
// { role: 'editMenu' }
{
label: "Edit",
submenu: [
{ role: "undo" },
{ role: "redo" },
{ type: "separator" },
{ role: "cut" },
{ role: "copy" },
{ role: "paste" },
...(isMac
? [
{ role: "pasteAndMatchStyle" },
{ role: "delete" },
{ role: "selectAll" },
{ type: "separator" },
{
label: "Speech",
submenu: [{ role: "startSpeaking" }, { role: "stopSpeaking" }],
},
]
: [{ role: "delete" }, { type: "separator" }, { role: "selectAll" }]),
],
},
// { role: 'viewMenu' }
{
label: "View",
submenu: [
{ role: "reload" },
{ role: "forceReload" },
{ type: "separator" },
{ role: "resetZoom" },
{
role: "zoomIn",
accelerator: process.platform === "darwin" ? "Control+=" : "Control+=",
},
{ role: "zoomOut" },
{ type: "separator" },
{ role: "togglefullscreen" },
],
},
// { role: 'windowMenu' }
{
label: "Window",
submenu: [
{ role: "minimize" },
{ role: "zoom" },
...(isMac
? [
{ type: "separator" },
{ role: "front" },
{ type: "separator" },
{ role: "window" },
]
: [{ role: "close" }]),
],
},
];
const menu = Menu.buildFromTemplate(template);
Menu.setApplicationMenu(menu);
function createWindow() {
const win = new BrowserWindow({
width: 1181,
height: 670,
icon: "./icon.png",
webPreferences: {
nodeIntegration: true,
devTools: false,
autoHideMenuBar: true,
},
});
win.loadURL("https://agam778.gitlab.io/Microsoft-Office-Electron/", {
userAgent:
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36",
});
}
app.whenReady().then(createWindow);
app.on("window-all-closed", () => {
if (process.platform !== "darwin") {
app.quit();
}
});
app.on("activate", () => {
if (BrowserWindow.getAllWindows().length === 0) {
createWindow();
}
});
try {
require("electron-reloader")(module);
} catch (_) {}
app.on("ready", function () {
isOnline().then((online) => {
if (online) {
console.log("You are connected to the internet!");
} else {
const options = {
type: "warning",
buttons: ["Ok"],
defaultId: 2,
title: "Warning",
message: "You appear to be offline!",
detail:
"Please check your Internet Connectivity. This app cannot run without an Internet Connection!",
};
dialog.showMessageBox(null, options, (response, checkboxChecked) => {
console.log(response);
});
}
});
autoUpdater.checkForUpdatesAndNotify();
});

View File

@@ -0,0 +1,85 @@
{
"name": "ms-office-electron",
"version": "0.3.0",
"description": "An Unofficial Microsoft Office Online Desktop Client. Free of Cost.",
"main": "main.js",
"repository": {
"type": "git",
"url": "https://github.com/agam778/MS-Office-Electron.git"
},
"build": {
"extraFiles": [
"index.html",
"Intro Image.png",
"Loading.gif",
"icon.png",
"icon.ico",
"license.txt",
"icon2.png"
],
"appId": "com.agampreet.microsoft-office-electron",
"productName": "MS Office - Electron",
"linux": {
"category": "Office",
"desktop": {
"Comment": "An Unofficial Microsoft Office Online Desktop Client. Free of Cost.",
"Name": "MS Office - Electron",
"StartupNotify": "true",
"Terminal": "false",
"Type": "Application",
"Categories": "Office;"
},
"icon": "icon.icns",
"artifactName": "MS-Office-Electron-Setup-${version}-x86_64.${ext}",
"executableName": "MS Office - Electron",
"maintainer": "Agampreet Singh <agam778@zohomail.in>",
"target": [
"AppImage"
]
},
"deb": {
"compression": "bzip2"
},
"mac": {
"category": "public.app-category.office",
"target": [
"dmg"
]
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": false,
"license": "license.txt"
},
"win": {
"target": [
"nsis"
]
},
"directories": {
"output": "release"
}
},
"scripts": {
"start": "electron .",
"pack": "electron-builder --dir",
"dist": "electron-builder"
},
"author": {
"author": "Agampreet Singh",
"email": "agam778singh@outlook.com",
"url": "https://agam778.github.io/"
},
"license": "MIT",
"devDependencies": {
"electron": "^15.1.1",
"electron-builder": "^22.11.7"
},
"dependencies": {
"about-window": "^1.15.0",
"electron-updater": "^4.3.9",
"is-online": "^9.0.1",
"node-notifier": "^10.0.0"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 232 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 504 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2021 Agampreet Singh
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@@ -0,0 +1,186 @@
const { app, Menu, BrowserWindow, globalShortcut } = require("electron");
const { dialog } = require("electron");
const openAboutWindow = require("about-window").default;
const join = require("path").join;
const isMac = process.platform === "darwin";
const path = require("path");
const electron = require("electron");
const { autoUpdater } = require("electron-updater");
const isOnline = require("is-online");
const template = [
// { role: 'appMenu' }
...(isMac
? [
{
label: app.name,
submenu: [
{ role: "about" },
{ type: "separator" },
{ role: "services" },
{ type: "separator" },
{ role: "hide" },
{ role: "hideothers" },
{ role: "unhide" },
{ type: "separator" },
{ role: "quit" },
],
},
]
: []),
// { role: 'fileMenu' }
{
label: "Application",
submenu: [
{
label: "About MS Office - Electron",
click: () =>
openAboutWindow({
icon_path:
"https://github.com/agam778/MS-Office-Electron/blob/main/icon2.png?raw=true",
product_name: "MS Office - Electron",
copyright: "Copyright (c) 2021 Agampreet Singh Bajaj",
package_json_dir: __dirname,
bug_report_url:
"https://github.com/agam778/Microsoft-Office-Electron/issues/",
bug_link_text: "Report an issue",
adjust_window_size: "2",
show_close_button: "Close",
}),
},
{
label: "Learn More",
click: async () => {
const { shell } = require("electron");
await shell.openExternal(
"https://github.com/agam778/MS-Office-Electron"
);
},
},
{ type: "separator" },
{
role: "quit",
accelerator: process.platform === "darwin" ? "Ctrl+Q" : "Ctrl+Q",
},
],
},
// { role: 'editMenu' }
{
label: "Edit",
submenu: [
{ role: "undo" },
{ role: "redo" },
{ type: "separator" },
{ role: "cut" },
{ role: "copy" },
{ role: "paste" },
...(isMac
? [
{ role: "pasteAndMatchStyle" },
{ role: "delete" },
{ role: "selectAll" },
{ type: "separator" },
{
label: "Speech",
submenu: [{ role: "startSpeaking" }, { role: "stopSpeaking" }],
},
]
: [{ role: "delete" }, { type: "separator" }, { role: "selectAll" }]),
],
},
// { role: 'viewMenu' }
{
label: "View",
submenu: [
{ role: "reload" },
{ role: "forceReload" },
{ type: "separator" },
{ role: "resetZoom" },
{
role: "zoomIn",
accelerator: process.platform === "darwin" ? "Control+=" : "Control+=",
},
{ role: "zoomOut" },
{ type: "separator" },
{ role: "togglefullscreen" },
],
},
// { role: 'windowMenu' }
{
label: "Window",
submenu: [
{ role: "minimize" },
{ role: "zoom" },
...(isMac
? [
{ type: "separator" },
{ role: "front" },
{ type: "separator" },
{ role: "window" },
]
: [{ role: "close" }]),
],
},
];
const menu = Menu.buildFromTemplate(template);
Menu.setApplicationMenu(menu);
function createWindow() {
const win = new BrowserWindow({
width: 1181,
height: 670,
icon: "./icon.png",
webPreferences: {
nodeIntegration: true,
devTools: false,
autoHideMenuBar: true,
},
});
win.loadURL("https://agam778.gitlab.io/Microsoft-Office-Electron/", {
userAgent:
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36",
});
}
app.whenReady().then(createWindow);
app.on("window-all-closed", () => {
if (process.platform !== "darwin") {
app.quit();
}
});
app.on("activate", () => {
if (BrowserWindow.getAllWindows().length === 0) {
createWindow();
}
});
try {
require("electron-reloader")(module);
} catch (_) {}
app.on("ready", function () {
isOnline().then((online) => {
if (online) {
console.log("You are connected to the internet!");
} else {
const options = {
type: "warning",
buttons: ["Ok"],
defaultId: 2,
title: "Warning",
message: "You appear to be offline!",
detail:
"Please check your Internet Connectivity. This app cannot run without an Internet Connection!",
};
dialog.showMessageBox(null, options, (response, checkboxChecked) => {
console.log(response);
});
}
});
autoUpdater.checkForUpdatesAndNotify();
});

View File

@@ -0,0 +1,86 @@
{
"name": "ms-office-electron",
"version": "0.3.0",
"description": "An Unofficial Microsoft Office Online Desktop Client. Free of Cost.",
"main": "main.js",
"repository": {
"type": "git",
"url": "https://github.com/agam778/MS-Office-Electron.git"
},
"build": {
"extraFiles": [
"index.html",
"Intro Image.png",
"Loading.gif",
"icon.png",
"icon.ico",
"license.txt",
"icon2.png"
],
"appId": "com.agampreet.microsoft-office-electron",
"productName": "MS Office - Electron",
"linux": {
"category": "Office",
"desktop": {
"Comment": "An Unofficial Microsoft Office Online Desktop Client. Free of Cost.",
"Name": "MS Office - Electron",
"StartupNotify": "true",
"Terminal": "false",
"Type": "Application",
"Categories": "Office;"
},
"icon": "icon.png",
"artifactName": "MS-Office-Electron-Setup-${version}-x86_64.${ext}",
"executableName": "MS Office - Electron",
"maintainer": "Agampreet Singh <agam778@zohomail.in>",
"target": [
"deb",
"rpm"
]
},
"deb": {
"compression": "bzip2"
},
"mac": {
"category": "public.app-category.office",
"target": [
"dmg"
]
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": false,
"license": "license.txt"
},
"win": {
"target": [
"nsis"
]
},
"directories": {
"output": "release"
}
},
"scripts": {
"start": "electron .",
"pack": "electron-builder --dir",
"dist": "electron-builder"
},
"author": {
"author": "Agampreet Singh",
"email": "agam778singh@outlook.com",
"url": "https://agam778.is-a.dev/"
},
"license": "MIT",
"devDependencies": {
"electron": "^15.1.1",
"electron-builder": "^22.11.7"
},
"dependencies": {
"about-window": "^1.15.0",
"electron-updater": "^4.3.9",
"is-online": "^9.0.1",
"node-notifier": "^10.0.0"
}
}

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 232 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 504 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2021 Agampreet Singh Bajaj
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@@ -0,0 +1,186 @@
const { app, Menu, BrowserWindow, globalShortcut } = require("electron");
const { dialog } = require("electron");
const openAboutWindow = require("about-window").default;
const join = require("path").join;
const isMac = process.platform === "darwin";
const path = require("path");
const electron = require("electron");
const { autoUpdater } = require("electron-updater");
const isOnline = require("is-online");
const template = [
// { role: 'appMenu' }
...(isMac
? [
{
label: app.name,
submenu: [
{ role: "about" },
{ type: "separator" },
{ role: "services" },
{ type: "separator" },
{ role: "hide" },
{ role: "hideothers" },
{ role: "unhide" },
{ type: "separator" },
{ role: "quit" },
],
},
]
: []),
// { role: 'fileMenu' }
{
label: "Application",
submenu: [
{
label: "About MS Office - Electron",
click: () =>
openAboutWindow({
icon_path:
"https://github.com/agam778/MS-Office-Electron/blob/main/icon2.png?raw=true",
product_name: "MS Office - Electron",
copyright: "Copyright (c) 2021 Agampreet Singh Bajaj",
package_json_dir: __dirname,
bug_report_url:
"https://github.com/agam778/Microsoft-Office-Electron/issues/",
bug_link_text: "Report an issue",
adjust_window_size: "2",
show_close_button: "Close",
}),
},
{
label: "Learn More",
click: async () => {
const { shell } = require("electron");
await shell.openExternal(
"https://github.com/agam778/MS-Office-Electron"
);
},
},
{ type: "separator" },
{
role: "quit",
accelerator: process.platform === "darwin" ? "Ctrl+Q" : "Ctrl+Q",
},
],
},
// { role: 'editMenu' }
{
label: "Edit",
submenu: [
{ role: "undo" },
{ role: "redo" },
{ type: "separator" },
{ role: "cut" },
{ role: "copy" },
{ role: "paste" },
...(isMac
? [
{ role: "pasteAndMatchStyle" },
{ role: "delete" },
{ role: "selectAll" },
{ type: "separator" },
{
label: "Speech",
submenu: [{ role: "startSpeaking" }, { role: "stopSpeaking" }],
},
]
: [{ role: "delete" }, { type: "separator" }, { role: "selectAll" }]),
],
},
// { role: 'viewMenu' }
{
label: "View",
submenu: [
{ role: "reload" },
{ role: "forceReload" },
{ type: "separator" },
{ role: "resetZoom" },
{
role: "zoomIn",
accelerator: process.platform === "darwin" ? "Control+=" : "Control+=",
},
{ role: "zoomOut" },
{ type: "separator" },
{ role: "togglefullscreen" },
],
},
// { role: 'windowMenu' }
{
label: "Window",
submenu: [
{ role: "minimize" },
{ role: "zoom" },
...(isMac
? [
{ type: "separator" },
{ role: "front" },
{ type: "separator" },
{ role: "window" },
]
: [{ role: "close" }]),
],
},
];
const menu = Menu.buildFromTemplate(template);
Menu.setApplicationMenu(menu);
function createWindow() {
const win = new BrowserWindow({
width: 1181,
height: 670,
icon: "./icon.icns",
webPreferences: {
nodeIntegration: true,
devTools: false,
autoHideMenuBar: true,
},
});
win.loadURL("https://agam778.gitlab.io/Microsoft-Office-Electron/", {
userAgent:
"Mozilla/5.0 (Macintosh; Intel Mac OS X 11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36",
});
}
app.whenReady().then(createWindow);
app.on("window-all-closed", () => {
if (process.platform !== "darwin") {
app.quit();
}
});
app.on("activate", () => {
if (BrowserWindow.getAllWindows().length === 0) {
createWindow();
}
});
try {
require("electron-reloader")(module);
} catch (_) {}
app.on("ready", function () {
isOnline().then((online) => {
if (online) {
console.log("You are connected to the internet!");
} else {
const options = {
type: "warning",
buttons: ["Ok"],
defaultId: 2,
title: "Warning",
message: "You appear to be offline!",
detail:
"Please check your Internet Connectivity. This app cannot run without an Internet Connection!",
};
dialog.showMessageBox(null, options, (response, checkboxChecked) => {
console.log(response);
});
}
});
autoUpdater.checkForUpdatesAndNotify();
});

View File

@@ -0,0 +1,88 @@
{
"name": "ms-office-electron",
"version": "0.3.0",
"description": "An Unofficial Microsoft Office Online Desktop Client. Free of Cost.",
"main": "main.js",
"repository": {
"type": "git",
"url": "https://github.com/agam778/MS-Office-Electron.git"
},
"build": {
"extraFiles": [
"index.html",
"Intro Image.png",
"Loading.gif",
"icon.png",
"icon.ico",
"icon.icns",
"license.txt",
"icon2.png"
],
"appId": "com.agampreet.microsoft-office-electron",
"productName": "MS Office - Electron",
"linux": {
"category": "Office",
"desktop": {
"Comment": "An Unofficial Microsoft Office Online Desktop Client. Free of Cost.",
"Name": "MS Office - Electron",
"StartupNotify": "true",
"Terminal": "false",
"Type": "Application",
"Categories": "Office;"
},
"icon": "icon.icns",
"artifactName": "MS-Office-Electron-Setup-${version}-x86_64.${ext}",
"executableName": "MS Office - Electron",
"maintainer": "Agampreet Singh <agam778@zohomail.in>",
"target": [
"deb",
"rpm"
]
},
"deb": {
"compression": "bzip2"
},
"mac": {
"category": "public.app-category.office",
"target": [
"dmg"
]
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": false,
"license": "license.txt",
"artifactName": "MS-Office-Electron-Setup-${version}-x86_64.${ext}"
},
"win": {
"target": [
"nsis"
]
},
"directories": {
"output": "release"
}
},
"scripts": {
"start": "electron .",
"pack": "electron-builder --dir",
"dist": "electron-builder"
},
"author": {
"author": "Agampreet Singh",
"email": "agam778singh@outlook.com",
"url": "https://agam778.is-a.dev/"
},
"license": "MIT",
"devDependencies": {
"electron": "^15.1.1",
"electron-builder": "^22.11.7"
},
"dependencies": {
"about-window": "^1.15.0",
"electron-updater": "^4.3.9",
"is-online": "^9.0.1",
"node-notifier": "^10.0.0"
}
}

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 232 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 504 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View File

@@ -1,24 +1,24 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="3; URL=https://office.com/?auth=1" />
<title>Microsoft Office - Electron</title>
<link rel="stylesheet" type="text/css" href="./styles.css">
</head>
<body><center>
<font face="Arial">
<br><br>
<h1>This is Microsoft Office - Electron</h1><br>
No Money Needed. Free of Cost Microsoft Office made with ElectronJS<br><br>
If you want to use Dark Mode, Please set the theme to Black in Microsoft Office
<br><br><br>Please wait while the website loads.<br><br><br><br>
<img alt="Loading" src="./Loading.gif">
<script>
// You can also require other files to run in this process
require('./renderer.js')
</script>
</font>
</center>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="3; URL=https://office.com/?auth=1" />
<title>Microsoft Office - Electron</title>
<link rel="stylesheet" type="text/css" href="./styles.css">
</head>
<body><center>
<font face="Arial">
<br><br>
<h1>This is Microsoft Office - Electron</h1><br>
No Money Needed. Free of Cost Microsoft Office made with ElectronJS<br><br>
If you want to use Dark Mode, Please set the theme to Black in Microsoft Office
<br><br><br>Please wait while the website loads.<br><br><br><br>
<img alt="Loading" src="./Loading.gif">
<script>
// You can also require other files to run in this process
require('./renderer.js')
</script>
</font>
</center>
</body>
</html>

View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2021 Agampreet Singh
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@@ -0,0 +1,186 @@
const { app, Menu, BrowserWindow, globalShortcut } = require("electron");
const { dialog } = require("electron");
const openAboutWindow = require("about-window").default;
const join = require("path").join;
const isMac = process.platform === "darwin";
const path = require("path");
const electron = require("electron");
const { autoUpdater } = require("electron-updater");
const isOnline = require("is-online");
const template = [
// { role: 'appMenu' }
...(isMac
? [
{
label: app.name,
submenu: [
{ role: "about" },
{ type: "separator" },
{ role: "services" },
{ type: "separator" },
{ role: "hide" },
{ role: "hideothers" },
{ role: "unhide" },
{ type: "separator" },
{ role: "quit" },
],
},
]
: []),
// { role: 'fileMenu' }
{
label: "Application",
submenu: [
{
label: "About MS Office - Electron",
click: () =>
openAboutWindow({
icon_path:
"https://github.com/agam778/MS-Office-Electron/blob/main/icon2.png?raw=true",
product_name: "MS Office - Electron",
copyright: "Copyright (c) 2021 Agampreet Singh Bajaj",
package_json_dir: __dirname,
bug_report_url:
"https://github.com/agam778/Microsoft-Office-Electron/issues/",
bug_link_text: "Report an issue",
adjust_window_size: "2",
show_close_button: "Close",
}),
},
{
label: "Learn More",
click: async () => {
const { shell } = require("electron");
await shell.openExternal(
"https://github.com/agam778/MS-Office-Electron"
);
},
},
{ type: "separator" },
{
role: "quit",
accelerator: process.platform === "darwin" ? "Ctrl+Q" : "Ctrl+Q",
},
],
},
// { role: 'editMenu' }
{
label: "Edit",
submenu: [
{ role: "undo" },
{ role: "redo" },
{ type: "separator" },
{ role: "cut" },
{ role: "copy" },
{ role: "paste" },
...(isMac
? [
{ role: "pasteAndMatchStyle" },
{ role: "delete" },
{ role: "selectAll" },
{ type: "separator" },
{
label: "Speech",
submenu: [{ role: "startSpeaking" }, { role: "stopSpeaking" }],
},
]
: [{ role: "delete" }, { type: "separator" }, { role: "selectAll" }]),
],
},
// { role: 'viewMenu' }
{
label: "View",
submenu: [
{ role: "reload" },
{ role: "forceReload" },
{ type: "separator" },
{ role: "resetZoom" },
{
role: "zoomIn",
accelerator: process.platform === "darwin" ? "Control+=" : "Control+=",
},
{ role: "zoomOut" },
{ type: "separator" },
{ role: "togglefullscreen" },
],
},
// { role: 'windowMenu' }
{
label: "Window",
submenu: [
{ role: "minimize" },
{ role: "zoom" },
...(isMac
? [
{ type: "separator" },
{ role: "front" },
{ type: "separator" },
{ role: "window" },
]
: [{ role: "close" }]),
],
},
];
const menu = Menu.buildFromTemplate(template);
Menu.setApplicationMenu(menu);
function createWindow() {
const win = new BrowserWindow({
width: 1181,
height: 670,
icon: "./icon.ico",
webPreferences: {
nodeIntegration: true,
devTools: false,
autoHideMenuBar: true,
},
});
win.loadURL("https://agam778.gitlab.io/Microsoft-Office-Electron/", {
userAgent:
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36",
});
}
app.whenReady().then(createWindow);
app.on("window-all-closed", () => {
if (process.platform !== "darwin") {
app.quit();
}
});
app.on("activate", () => {
if (BrowserWindow.getAllWindows().length === 0) {
createWindow();
}
});
try {
require("electron-reloader")(module);
} catch (_) {}
app.on("ready", function () {
isOnline().then((online) => {
if (online) {
console.log("You are connected to the internet!");
} else {
const options = {
type: "warning",
buttons: ["Ok"],
defaultId: 2,
title: "Warning",
message: "You appear to be offline!",
detail:
"Please check your Internet Connectivity. This app cannot run without an Internet Connection!",
};
dialog.showMessageBox(null, options, (response, checkboxChecked) => {
console.log(response);
});
}
});
autoUpdater.checkForUpdatesAndNotify();
});

View File

@@ -0,0 +1,87 @@
{
"name": "ms-office-electron",
"version": "0.3.0",
"description": "An Unofficial Microsoft Office Online Desktop Client. Free of Cost.",
"main": "main.js",
"repository": {
"type": "git",
"url": "https://github.com/agam778/MS-Office-Electron.git"
},
"build": {
"extraFiles": [
"index.html",
"Intro Image.png",
"Loading.gif",
"icon.png",
"icon.ico",
"license.txt",
"icon2.png"
],
"appId": "com.agampreet.microsoft-office-electron",
"productName": "MS Office - Electron",
"linux": {
"category": "Office",
"desktop": {
"Comment": "An Unofficial Microsoft Office Online Desktop Client. Free of Cost.",
"Name": "MS Office - Electron",
"StartupNotify": "true",
"Terminal": "false",
"Type": "Application",
"Categories": "Office;"
},
"icon": "icon.png",
"artifactName": "MS-Office-Electron-Setup-${version}-x86_64.${ext}",
"executableName": "MS Office - Electron",
"maintainer": "Agampreet Singh <agam778@zohomail.in>",
"target": [
"deb",
"rpm"
]
},
"deb": {
"compression": "bzip2"
},
"mac": {
"category": "public.app-category.office",
"target": [
"dmg"
]
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": false,
"license": "license.txt",
"artifactName": "MS-Office-Electron-Setup-${version}-x86_64.${ext}"
},
"win": {
"target": [
"nsis"
]
},
"directories": {
"output": "release"
}
},
"scripts": {
"start": "electron .",
"pack": "electron-builder --dir",
"dist": "electron-builder"
},
"author": {
"author": "Agampreet Singh",
"email": "agam778singh@outlook.com",
"url": "https://agam778.is-a.dev/"
},
"license": "MIT",
"devDependencies": {
"electron": "^15.1.1",
"electron-builder": "^22.11.7"
},
"dependencies": {
"about-window": "^1.15.0",
"electron-updater": "^4.3.9",
"is-online": "^9.0.1",
"node-notifier": "^10.0.0"
}
}

View File

BIN
Preview/Fedora Preview.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 276 KiB

BIN
Preview/Ubuntu Preview.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 KiB

View File

Before

Width:  |  Height:  |  Size: 698 KiB

After

Width:  |  Height:  |  Size: 698 KiB

156
README.md
View File

@@ -1,25 +1,131 @@
<p style="text-align: center"><img src="https://github.com/agam778/Microsoft-Office-Electron/blob/main/Intro%20Image.png?raw=true" alt="Intro Image"></p>
An Unofficial Microsoft Office Online Desktop Client made with Electron. Free of Cost.
<a href="https://bit.ly/agamtechtricks">![Badge](https://img.shields.io/badge/Made%20With%20♥-by%20Agam-orange?style=for-the-badge)</a>&nbsp;&nbsp;<a href="https://electronjs.org">![Badge](https://img.shields.io/badge/Developed%20With-Electron-red?logo=Electron&logoColor=white&style=for-the-badge)</a>&nbsp;&nbsp;<a href="https://github.com/agam778/Microsoft-Office-Electron/blob/main/license.txt">![Badge](https://img.shields.io/github/license/agam778/Microsoft-Office-Electron?style=for-the-badge)</a>&nbsp;&nbsp;<a href="https://github.com/agam778/Microsoft-Office-Electron/releases/">![Badge](https://img.shields.io/github/v/release/agam778/Microsoft-Office-Electron?label=Release&logo=github&style=for-the-badge&color=blue)</a>&nbsp;&nbsp;<a href="https://github.com/agam778/Microsoft-Office-Electron/releases/">![Badge](https://img.shields.io/github/downloads/agam778/Microsoft-Office-Electron/total?label=Downloads&style=for-the-badge)
## Table of contents
1. [Introduction](#Introduction)
2. [Windows](#Windows)
# Introduction
As we know that Microsoft Office is a paid service, they also have a free Web version [here](https://office.com).
For those people who can't afford Microsoft Office Subscription, or don't want to pay for that, or like the web version of it, Then **Microsoft Office - Electron** is the app you require.
**Microsoft Office - Electron** is the app in which the Web Version of Microsoft Office is wrapped into a Cross-Platform App with Electron. And all the Services of Microsoft Office will work for free.
***Do Expect bugs***
# Windows
## Preview
![Windows - Preview.png](https://github.com/agam778/Microsoft-Office-Electron/blob/main/Preview/Windows%20-%20Preview.png?raw=true)
<p align="center"><img src="https://github.com/agam778/Microsoft-Office-Electron/blob/main/Intro%20Image.png?raw=true" alt="Intro Image"></p>
<p align="center">An Unofficial Microsoft Office Online Desktop Client made with Electron. Free of Cost.</p>
<p align="center">
<a href="https://bit.ly/agamtechtricks">
<img align="center" src="https://img.shields.io/badge/Made%20With%20♥-by%20Agam-orange?style=style=flat">
</a>
<a href="https://electronjs.org">
<img align="center" src="https://img.shields.io/badge/Developed%20With-Electron-red?logo=Electron&logoColor=white&style=flat">
</a>
<a href="https://github.com/agam778/Microsoft-Office-Electron/blob/main/license.txt">
<img align="center" src="https://img.shields.io/github/license/agam778/Microsoft-Office-Electron?style=flat">
</a>
<a href="https://github.com/agam778/Microsoft-Office-Electron/releases/">
<img align="center" src="https://img.shields.io/github/v/release/agam778/Microsoft-Office-Electron?label=Release&logo=github&style=style=flat&color=blue">
</a>
<a href="https://github.com/agam778/Microsoft-Office-Electron/releases/">
<img align="center" src="https://img.shields.io/github/downloads/agam778/Microsoft-Office-Electron/total?label=Downloads&style=style=flat">
</a>
<a href="https://github.com/agam778/Microsoft-Office-Electron/releases/latest/">
<img align="center" src="https://img.shields.io/github/downloads/agam778/Microsoft-Office-Electron/latest/total?label=Downloads%40Latest">
</a>
</p>
# Table of contents
1. [Introduction](#Introduction)
2. [Windows](#Windows)
1. [Windows Installation](#-windows-installation)
2. [Windows Preview](#windows-preview)
3. [macOS](#macOS)
1. [macOS Installation](#-macOS-installation)
4. [Linux](#linux)
1. [Linux Installation](#-linux-installation)
1. [Ubuntu/Debain based distribution installation](#ubuntudebian-based-distribution-installation)
2. [Red Hat/Fedora based distribution installation](#red-hatfedora-based-distribution-installation)
3. [Arch/Manjaro Linux based distribution installation](#archmanjaro-linux-based-distribution-installation)
2. [Ubuntu Preview](#ubuntu-preview)
3. [Fedora Preview](#fedora-preview)
5. [MIT License](#-mit-license)
1. [Disclamier](#disclaimer-not-affiliated-with-microsoft)
# Introduction
As we know that Microsoft Office is a paid service, they also have a free Web version [here](https://office.com).
For those people who can't afford Microsoft Office Subscription, or don't want to pay for that, or like the web version of it, Then **Microsoft Office - Electron** is the app you require.
**Microsoft Office - Electron** is the app in which the Web Version of Microsoft Office is wrapped into a Cross-Platform App with Electron. And all the Services of Microsoft Office will work for free.
Note - Windows Hello or Sign in with Security key is not currently supported and will show you an error. You will have to manually sign in with your E-Mail and Password.
***Do Expect bugs***
Supported Platforms
1. Windows x64 (EXE File)
2. Ubuntu/Debian based distributions (DEB File)
3. Red Hat Linux/Fedora based distributions (RPM File)
4. Arch/Manjaro Linux based distributions (PKG.TAR.ZST File)
5. All Distributions supporting AppImage (AppImage File)
Not uploaded Arch/Manjaro Linux based distributions build to AUR.<br>
Mac OS supported now with builds for both M1 And Intel Chips . See the instructions how to install below<br>
# Windows
## 💿 Windows Installation
For Installing this app on Windows :-
1) Just go to the [Releases](https://github.com/agam778/Microsoft-Office-Electron/releases) page
2) Scroll down and click the `setup.x.x.x.exe` file. The Setup file will start downloading.
3) After it downloads, click on the file and proceed with the Installation. You can choose whether to install for only you or all the users on the PC. You can always start the app from Start Menu or from the Desktop Shortcut.
## 📸 Windows Preview
[Click Here](https://github.com/agam778/Microsoft-Office-Electron/blob/main/Preview/Windows%20Preview.png?raw=true)
# macOS
## 💿 macOS Installation
### Note - Thanks a lot to [@RickRollMaster101](https://github.com/RickRollMaster101) for the macOS builds 🥳🥳 (As I don't have a MacBook 😅)
For Installing this app on Mac :-
1. Just go to the [Releases](https://github.com/agam778/Microsoft-Office-Electron/releases) page
2. Scroll down and click the `.dmg` file. The build with no architecture written is for Intel Macs (Will fix it soon) and the build with arm64 written in it is for M1 Macs. Download the build according to your Mac.
3. After it downloads, click on the file and mount it on your system. Now drag my app to the Applications Folder (There will be a shortcut in the opened window too) and your app will be installed. Open from Launchpad and enjoy.
# Linux
## 💿 Linux Installation
### Ubuntu/Debian based distribution installation
For Installing in Ubuntu/Debian based distribution :-
1) Go to the [Releases](https://github.com/agam778/Microsoft-Office-Electron/releases) page
2) Scroll down and click the `.deb` file to download it.
3) Then run the deb file and click Install to install the App. Launch it from the Applications Menu.
### Red Hat/Fedora based distribution installation
For Installing in Red Hat/Fedora based distribution :-
1) Go to the [Releases](https://github.com/agam778/Microsoft-Office-Electron/releases) page
2) Scroll down and click the `.rpm` file to download it.
3) Then run the rpm file and click Install to install the App. Launch it from the Applications Menu.
### Arch/Manjaro Linux based distribution installation
I currently have not uploaded the package to AUR (and maybe won't cause i don't have that much time, i'll try tho) but you can install it this way :-
1) Go to the [Releases](https://github.com/agam778/Microsoft-Office-Electron/releases) page
2) Scroll down and click the `.pkg.tar.zst` file to download it.
3) Now open terminal and run `sudo pacman -U ./microsoft-office-electron-x.y.z-x86_64.pkg.tar.xz` (Replace x.y.z with version number)
## 📸 Ubuntu Preview
[Click Here](https://github.com/agam778/Microsoft-Office-Electron/blob/main/Preview/Ubuntu%20Preview.png?raw=true)
## 📸 Fedora Preview
[Click Here](https://raw.githubusercontent.com/agam778/Microsoft-Office-Electron/main/Preview/Fedora%20Preview.png)
# 📃 MIT License
#### *Disclaimer: Not affiliated with Microsoft*

View File

@@ -1,21 +1,21 @@
MIT License
Copyright (c) 2021 Agampreet Singh Bajaj
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
MIT License
Copyright (c) 2021 Agampreet Singh Bajaj
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

147
main.js
View File

@@ -1,147 +0,0 @@
const { app, Menu, BrowserWindow } = require('electron')
const openAboutWindow = require('about-window').default;
const join = require('path').join;
const isMac = process.platform === 'darwin'
const template = [
// { role: 'appMenu' }
...(isMac ? [{
label: app.name,
submenu: [
{ role: 'about' },
{ type: 'separator' },
{ role: 'services' },
{ type: 'separator' },
{ role: 'hide' },
{ role: 'hideothers' },
{ role: 'unhide' },
{ type: 'separator' },
{ role: 'quit' }
]
}] : []),
// { role: 'fileMenu' }
{
label: 'Microsoft Office - Electron',
submenu: [
{
label: 'About Microsoft Office - Electron',
click: () =>
openAboutWindow({
icon_path: 'https://github.com/agam778/Microsoft-Office-Electron/blob/main/icon2.png?raw=true',
product_name: 'Microsoft Office - Electron',
copyright: 'Copyright (c) 2021 Agampreet Singh Bajaj',
package_json_dir: __dirname,
bug_report_url: 'https://github.com/agam778/Microsoft-Office-Electron/issues/',
bug_link_text: 'Report an issue',
adjust_window_size: '2',
show_close_button: 'Close',
}),
},
{
label: 'Learn More',
click: async () => {
const { shell } = require('electron');
await shell.openExternal('https://github.com/agam778/Microsoft-Office-Electron');
}
},
{type:'separator'},
{
role: 'quit',
accelerator: process.platform === 'darwin' ? 'Ctrl+Q' : 'Ctrl+Q',
}
]
},
// { role: 'editMenu' }
{
label: 'Edit',
submenu: [
{ role: 'undo' },
{ role: 'redo' },
{ type: 'separator' },
{ role: 'cut' },
{ role: 'copy' },
{ role: 'paste' },
...(isMac ? [
{ role: 'pasteAndMatchStyle' },
{ role: 'delete' },
{ role: 'selectAll' },
{ type: 'separator' },
{
label: 'Speech',
submenu: [
{ role: 'startSpeaking' },
{ role: 'stopSpeaking' }
]
}
] : [
{ role: 'delete' },
{ type: 'separator' },
{ role: 'selectAll' }
])
]
},
// { role: 'viewMenu' }
{
label: 'View',
submenu: [
{ role: 'reload' },
{ role: 'forceReload' },
{ role: 'toggleDevTools' },
{ type: 'separator' },
{ role: 'resetZoom' },
{ role: 'zoomIn' },
{ role: 'zoomOut' },
{ type: 'separator' },
{ role: 'togglefullscreen' }
]
},
// { role: 'windowMenu' }
{
label: 'Window',
submenu: [
{ role: 'minimize' },
{ role: 'zoom' },
...(isMac ? [
{ type: 'separator' },
{ role: 'front' },
{ type: 'separator' },
{ role: 'window' }
] : [
{ role: 'close' }
])
]
}
]
const menu = Menu.buildFromTemplate(template)
Menu.setApplicationMenu(menu)
function createWindow () {
const win = new BrowserWindow({
width: 1181,
height: 670,
icon: './icon.ico',
webPreferences: {
nodeIntegration: true
}
})
win.loadURL('file:///index.html',
{userAgent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36'});
}
app.whenReady().then(createWindow)
app.on('window-all-closed', () => {
if (process.platform !== 'darwin') {
app.quit()
}
})
app.on('activate', () => {
if (BrowserWindow.getAllWindows().length === 0) {
createWindow()
}
})

View File

@@ -1,78 +0,0 @@
{
"name": "microsoft-office-electron",
"version": "0.1.0",
"description": "An Unofficial Microsoft Office Online Desktop Client. Free of Cost.",
"main": "main.js",
"repository": {
"type": "git",
"url": "https://github.com/agam778/Microsoft-Office-Electron.git"
},
"build": {
"extraFiles": [
"index.html",
"Intro Image.png",
"Loading.gif",
"icon.png",
"icon.ico",
"license.txt",
"icon2.png"
],
"appId": "com.agampreet.microsoft-office-electron",
"productName": "Microsoft Office - Electron",
"linux": {
"category": "Utilities",
"desktop": {
"Comment": "An Unofficial Microsoft Office Online Desktop Client. Free of Cost.",
"Name": "Microsoft Office - Electron",
"StartupNotify": "true",
"Terminal": "false",
"Type": "Application",
"Categories": "Utilities;Office;"
},
"executableName": "microsoft-office-electron",
"maintainer": "Agampreet Singh <agampreet628@gmail.com>",
"target": [
"AppImage"
]
},
"mac": {
"category": "public.app-category.utilities",
"target": [
"dmg"
]
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": false,
"license": "license.txt"
},
"win": {
"target": [
"nsis"
]
},
"directories": {
"output": "release"
}
},
"scripts": {
"start": "electron .",
"pack": "electron-builder --dir",
"dist": "electron-builder"
},
"author": {
"author": "Agampreet Singh",
"email": "agampreet628@gmail.com",
"url": "https://agam778.github.io/"
},
"license": "MIT",
"devDependencies": {
"electron": "^12.0.0",
"electron-builder": "^22.10.5"
},
"dependencies": {
"about-window": "^1.14.0",
"electron-updater": "^4.3.8"
}
}