Compare commits
75 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e68f15b6fb | ||
|
|
2e0dcfe283 | ||
|
|
95253ce88c | ||
|
|
dcd03c5ad9 | ||
|
|
3808356a16 | ||
|
|
c6f2df4c23 | ||
|
|
7de47a699d | ||
|
|
de0940527a | ||
|
|
4f3adc36fc | ||
|
|
fa05f75c92 | ||
|
|
3c63b630c5 | ||
|
|
02ba39a57d | ||
|
|
2e244701f1 | ||
|
|
1fd5e89d6e | ||
|
|
f07cdbc963 | ||
|
|
43d55a4336 | ||
|
|
f8f0026dc2 | ||
|
|
ed891b8dd8 | ||
|
|
927d6bf46d | ||
|
|
bd6c629c00 | ||
|
|
7e399417a0 | ||
|
|
a73fc73623 | ||
|
|
c66d64e03c | ||
|
|
d514c0aaf5 | ||
|
|
9cf668c1e3 | ||
|
|
14fa39743f | ||
|
|
37b8deb7bb | ||
|
|
722a3404c8 | ||
|
|
ff451a339e | ||
|
|
6d95f3866f | ||
|
|
5a7c9f0f88 | ||
|
|
4f33f9fcc1 | ||
|
|
439eb08d10 | ||
|
|
93f9aef556 | ||
|
|
1cb751c888 | ||
|
|
6b0a894eb3 | ||
|
|
445ca8631e | ||
|
|
7148a4c9c3 | ||
|
|
c7c41729f5 | ||
|
|
2c0ba89494 | ||
|
|
ae77dcc2d8 | ||
|
|
bc3c6425e6 | ||
|
|
10d3aa556c | ||
|
|
318e0b0010 | ||
|
|
c0985aa6e2 | ||
|
|
420e3ef1f8 | ||
|
|
c78f84b546 | ||
|
|
4a44b7357e | ||
|
|
b4b0f1e119 | ||
|
|
062a6c90ee | ||
|
|
16c8f568a6 | ||
|
|
565d2d2bc6 | ||
|
|
428fdf4bb4 | ||
|
|
a38510ce64 | ||
|
|
6c49b0061e | ||
|
|
755392b419 | ||
|
|
282c17b709 | ||
|
|
70b0a5e8c6 | ||
|
|
40bc154c09 | ||
|
|
9639e33e54 | ||
|
|
72de68e3a5 | ||
|
|
443dab50e0 | ||
|
|
889768468e | ||
|
|
1469414078 | ||
|
|
633e6a35df | ||
|
|
47e3a190f6 | ||
|
|
680b5675fa | ||
|
|
4c02872660 | ||
|
|
be238d6ff4 | ||
|
|
539340b94c | ||
|
|
8e5c80d6bd | ||
|
|
f918fe5d2b | ||
|
|
c07858666f | ||
|
|
0c023a20b1 | ||
|
|
c4681a8cc7 |
17
.github/stale.yml
vendored
Normal 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
|
||||
31
.github/workflows/build.yml
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
name: Build/release
|
||||
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
os: [macos-latest, ubuntu-latest, windows-latest]
|
||||
|
||||
steps:
|
||||
- name: Check out Git repository
|
||||
uses: actions/checkout@v1
|
||||
|
||||
- name: Install Node.js, NPM and Yarn
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 16
|
||||
|
||||
- name: Build/release Electron app
|
||||
uses: samuelmeuli/action-electron-builder@v1
|
||||
with:
|
||||
# GitHub token, automatically provided to the action
|
||||
# (No need to define this secret in the repo settings)
|
||||
github_token: ${{ secrets.github_token }}
|
||||
|
||||
# If the commit is tagged with a version (e.g. "v1.0.0"),
|
||||
# release the app after building
|
||||
release: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
||||
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
node_modules/
|
||||
BIN
Intro Image.png
|
Before Width: | Height: | Size: 232 KiB |
BIN
Intro_Image.png
Normal file
|
After Width: | Height: | Size: 122 KiB |
@@ -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
|
||||
|
||||
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.
|
||||
BIN
Loading.gif
|
Before Width: | Height: | Size: 504 KiB |
19
MSlogo.svg
Normal file
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="57px" height="30px" viewBox="0 0 57 30" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 45.2 (43514) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>MDlogo</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs/>
|
||||
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" font-size="42">
|
||||
<g id="thumb" transform="translate(-4.000000, -18.000000)">
|
||||
<g id="MD" transform="translate(2.000000, 4.000000)">
|
||||
<text id="M" font-family="Roboto-Black, Roboto" font-weight="700" letter-spacing="5.46875048" fill="#000000">
|
||||
<tspan x="0.0136716366" y="44">M</tspan>
|
||||
</text>
|
||||
<text id="D" font-family="Roboto-Light, Roboto" font-weight="300" letter-spacing="5.46875" fill="#A8244F">
|
||||
<tspan x="33.484375" y="44">S</tspan>
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 232 KiB |
|
Before Width: | Height: | Size: 504 KiB |
|
Before Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 24 KiB |
@@ -1,159 +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 path = require('path')
|
||||
const electron = require('electron')
|
||||
const {autoUpdater} = require("electron-updater");
|
||||
|
||||
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 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',
|
||||
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: path.join(__dirname, '/icons/icon.png'),
|
||||
webPreferences: {
|
||||
nodeIntegration: true
|
||||
}
|
||||
})
|
||||
|
||||
win.loadURL('https://agam778.github.io/Microsoft-Office-Electron/',
|
||||
{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()
|
||||
}
|
||||
})
|
||||
|
||||
try {
|
||||
require('electron-reloader')(module)
|
||||
} catch (_) {}
|
||||
|
||||
app.on('ready', function() {
|
||||
autoUpdater.checkForUpdatesAndNotify();
|
||||
});
|
||||
@@ -1,86 +0,0 @@
|
||||
{
|
||||
"name": "microsoft-office-electron",
|
||||
"version": "0.1.1",
|
||||
"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;"
|
||||
},
|
||||
"icon": "icon.png",
|
||||
"executableName": "microsoft-office-electron",
|
||||
"maintainer": "Agampreet Singh <agam778singh@outlook.com>",
|
||||
"target": [
|
||||
"AppImage"
|
||||
]
|
||||
},
|
||||
"deb": {
|
||||
"compression": "bzip2"
|
||||
},
|
||||
"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": "agam778singh@outlook.com",
|
||||
"url": "https://agam778.github.io/"
|
||||
},
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"electron": "^12.0.0",
|
||||
"electron-builder": "^22.10.5",
|
||||
"electron-reloader": "^1.2.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"about-window": "^1.14.0",
|
||||
"custom-electron-titlebar": "^3.2.7",
|
||||
"electron-reload": "^1.5.0",
|
||||
"electron-updater": "^4.3.9",
|
||||
"update-electron-app": "^2.0.1"
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 232 KiB |
|
Before Width: | Height: | Size: 504 KiB |
|
Before Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 24 KiB |
@@ -1,21 +0,0 @@
|
||||
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.
|
||||
@@ -1,159 +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 path = require('path')
|
||||
const electron = require('electron')
|
||||
const {autoUpdater} = require("electron-updater");
|
||||
|
||||
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 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',
|
||||
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
|
||||
}
|
||||
})
|
||||
|
||||
win.loadURL('https://agam778.github.io/Microsoft-Office-Electron/',
|
||||
{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()
|
||||
}
|
||||
})
|
||||
|
||||
try {
|
||||
require('electron-reloader')(module)
|
||||
} catch (_) {}
|
||||
|
||||
app.on('ready', function() {
|
||||
autoUpdater.checkForUpdatesAndNotify();
|
||||
});
|
||||
@@ -1,87 +0,0 @@
|
||||
{
|
||||
"name": "microsoft-office-electron",
|
||||
"version": "0.1.1",
|
||||
"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;"
|
||||
},
|
||||
"icon": "icon.icns",
|
||||
"executableName": "microsoft-office-electron",
|
||||
"maintainer": "Agampreet Singh <agam778singh@outlook.com>",
|
||||
"target": [
|
||||
"deb",
|
||||
"rpm"
|
||||
]
|
||||
},
|
||||
"deb": {
|
||||
"compression": "bzip2"
|
||||
},
|
||||
"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": "agam778singh@outlook.com",
|
||||
"url": "https://agam778.github.io/"
|
||||
},
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"electron": "^12.0.0",
|
||||
"electron-builder": "^22.10.5",
|
||||
"electron-reloader": "^1.2.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"about-window": "^1.14.0",
|
||||
"custom-electron-titlebar": "^3.2.7",
|
||||
"electron-reload": "^1.5.0",
|
||||
"electron-updater": "^4.3.9",
|
||||
"update-electron-app": "^2.0.1"
|
||||
}
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"type": "npm",
|
||||
"script": "start",
|
||||
"problemMatcher": [],
|
||||
"label": "npm: start",
|
||||
"detail": "electron ."
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Before Width: | Height: | Size: 232 KiB |
|
Before Width: | Height: | Size: 504 KiB |
|
Before Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 24 KiB |
@@ -1,24 +0,0 @@
|
||||
<!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>
|
||||
@@ -1,21 +0,0 @@
|
||||
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.
|
||||
@@ -1,158 +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 electron = require('electron')
|
||||
const {autoUpdater} = require("electron-updater");
|
||||
|
||||
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 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',
|
||||
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
|
||||
}
|
||||
})
|
||||
|
||||
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()
|
||||
}
|
||||
})
|
||||
|
||||
try {
|
||||
require('electron-reloader')(module)
|
||||
} catch (_) {}
|
||||
|
||||
app.on('ready', function() {
|
||||
autoUpdater.checkForUpdatesAndNotify();
|
||||
});
|
||||
@@ -1,84 +0,0 @@
|
||||
{
|
||||
"name": "microsoft-office-electron",
|
||||
"version": "0.1.1",
|
||||
"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;"
|
||||
},
|
||||
"icon": "icon.png",
|
||||
"executableName": "microsoft-office-electron",
|
||||
"maintainer": "Agampreet Singh <agam778singh@outlook.com>",
|
||||
"target": [
|
||||
"deb",
|
||||
"rpm"
|
||||
]
|
||||
},
|
||||
"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": "agam778singh@outlook.com",
|
||||
"url": "https://agam778.github.io/"
|
||||
},
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"electron": "^12.0.0",
|
||||
"electron-builder": "^22.10.5",
|
||||
"electron-reloader": "^1.2.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"about-window": "^1.14.0",
|
||||
"custom-electron-titlebar": "^3.2.7",
|
||||
"electron-reload": "^1.5.0",
|
||||
"electron-updater": "^4.3.9",
|
||||
"update-electron-app": "^2.0.1"
|
||||
}
|
||||
}
|
||||
214
README.md
@@ -1,85 +1,129 @@
|
||||
<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"></a> <a href="https://electronjs.org"></a> <a href="https://github.com/agam778/Microsoft-Office-Electron/blob/main/license.txt"></a> <a href="https://github.com/agam778/Microsoft-Office-Electron/releases/"></a> <a href="https://github.com/agam778/Microsoft-Office-Electron/releases/">
|
||||
|
||||
# Table of contents
|
||||
|
||||
1. [Introduction](#Introduction)
|
||||
2. [Windows](#Windows)
|
||||
1. [Windows Preview](#windows-preview)
|
||||
2. [Windows Installation](#-windows-installation)
|
||||
3. [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)
|
||||
4. [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 via AppImage only (AppImage File)
|
||||
5. All Distributions supporting AppImage (AppImage File)
|
||||
|
||||
Not made an Installer for Arch/Manjaro Linux based distributions.
|
||||
Mac OS is not currently supported.
|
||||
|
||||
# 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)
|
||||
|
||||
# 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 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*
|
||||
<p align="center"><img src="https://github.com/agam778/Microsoft-Office-Electron/blob/main/Intro_Image.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
|
||||
|
||||
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*
|
||||
|
||||
21
license.txt
@@ -1,21 +0,0 @@
|
||||
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.
|
||||
183
main.js
Normal file
@@ -0,0 +1,183 @@
|
||||
const {
|
||||
app,
|
||||
Menu,
|
||||
BrowserWindow,
|
||||
globalShortcut,
|
||||
electron,
|
||||
dialog,
|
||||
} = require("electron");
|
||||
const openAboutWindow = require("about-window").default;
|
||||
const isMac = process.platform === "darwin";
|
||||
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",
|
||||
package_json_dir: __dirname,
|
||||
bug_report_url:
|
||||
"https://github.com/agam778/MS-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 AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 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();
|
||||
}
|
||||
});
|
||||
|
||||
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);
|
||||
}
|
||||
});
|
||||
autoUpdater.checkForUpdatesAndNotify();
|
||||
});
|
||||
42
not.travis.yml
Normal file
@@ -0,0 +1,42 @@
|
||||
matrix:
|
||||
include:
|
||||
- os: osx
|
||||
osx_image: xcode12.5
|
||||
language: node_js
|
||||
node_js: "16"
|
||||
env:
|
||||
- ELECTRON_CACHE=$HOME/.cache/electron
|
||||
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
|
||||
|
||||
- os: linux
|
||||
services: docker
|
||||
language: generic
|
||||
|
||||
dist: focal
|
||||
|
||||
cache:
|
||||
yarn: true
|
||||
directories:
|
||||
- node_modules
|
||||
- $HOME/.cache/electron
|
||||
- $HOME/.cache/electron-builder
|
||||
|
||||
script:
|
||||
- |
|
||||
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
|
||||
docker run --rm \
|
||||
-e GH_TOKEN=$GH_TOKEN \
|
||||
-v ${PWD}:/project \
|
||||
-v ~/.cache/electron:/root/.cache/electron \
|
||||
-v ~/.cache/electron-builder:/root/.cache/electron-builder \
|
||||
electronuserland/builder:wine \
|
||||
/bin/bash -c "yarn --link-duplicates --pure-lockfile && yarn dist --x64 --linux --win --publish always"
|
||||
else
|
||||
npm run dist --x64; npm run dist --arm64
|
||||
fi
|
||||
before_cache:
|
||||
- rm -rf $HOME/.cache/electron-builder/wine
|
||||
|
||||
branches:
|
||||
except:
|
||||
- "/^v\\d+\\.\\d+\\.\\d+$/"
|
||||
83
package.json
Normal file
@@ -0,0 +1,83 @@
|
||||
{
|
||||
"name": "ms-office-electron",
|
||||
"version": "0.3.2",
|
||||
"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": [
|
||||
"icon.png",
|
||||
"license.txt",
|
||||
"icon2.png"
|
||||
],
|
||||
"appId": "com.agampreet.ms-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",
|
||||
"AppImage"
|
||||
]
|
||||
},
|
||||
"deb": {
|
||||
"compression": "bzip2"
|
||||
},
|
||||
"mac": {
|
||||
"category": "public.app-category.office",
|
||||
"target": [
|
||||
"dmg"
|
||||
]
|
||||
},
|
||||
"nsis": {
|
||||
"oneClick": false,
|
||||
"perMachine": false,
|
||||
"allowToChangeInstallationDirectory": false,
|
||||
"license": "LICENSE",
|
||||
"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": {
|
||||
"name": "Agampreet Singh",
|
||||
"email": "agam778@zohomail.in",
|
||||
"url": "https://agam778.is-a.dev/"
|
||||
},
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"electron": "^15.2.0",
|
||||
"electron-builder": "^22.13.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"about-window": "^1.15.0",
|
||||
"electron-updater": "^4.3.9",
|
||||
"is-online": "^9.0.1"
|
||||
}
|
||||
}
|
||||