Compare commits
26 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
74bf167186 | ||
|
|
e167ada71c | ||
|
|
0da3232ceb | ||
|
|
276e9dd032 | ||
|
|
78c36f77b5 | ||
|
|
1e6b6e7264 | ||
|
|
04eb37299b | ||
|
|
8c803ae672 | ||
|
|
295b365e6c | ||
|
|
e974a3388c | ||
|
|
247b661090 | ||
|
|
5bb6a1c879 | ||
|
|
bbb1d4a2b1 | ||
|
|
901b31e5c6 | ||
|
|
fdbd8a3281 | ||
|
|
e8150cc19f | ||
|
|
fad9a5d68d | ||
|
|
a38a5702de | ||
|
|
6970fcf986 | ||
|
|
4359f5eaf2 | ||
|
|
fac9aa14b4 | ||
|
|
6466fbfdf0 | ||
|
|
a832a36823 | ||
|
|
a1ba5c9b05 | ||
|
|
7d4114bded | ||
|
|
f6c1c80d98 |
BIN
Microsoft-Office-Electron-Linux-AppImage/Intro Image.png
Normal file
|
After Width: | Height: | Size: 232 KiB |
BIN
Microsoft-Office-Electron-Linux-AppImage/Loading.gif
Normal file
|
After Width: | Height: | Size: 504 KiB |
BIN
Microsoft-Office-Electron-Linux-AppImage/icon.icns
Normal file
BIN
Microsoft-Office-Electron-Linux-AppImage/icon.png
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
Microsoft-Office-Electron-Linux-AppImage/icon2.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
Microsoft-Office-Electron-Linux-AppImage/icons/icon.ico
Normal file
|
After Width: | Height: | Size: 44 KiB |
BIN
Microsoft-Office-Electron-Linux-AppImage/icons/icon.png
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
Microsoft-Office-Electron-Linux-AppImage/icons/icon2.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
21
Microsoft-Office-Electron-Linux-AppImage/license.txt
Normal 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.
|
||||
159
Microsoft-Office-Electron-Linux-AppImage/main.js
Normal file
@@ -0,0 +1,159 @@
|
||||
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();
|
||||
});
|
||||
86
Microsoft-Office-Electron-Linux-AppImage/package.json
Normal file
@@ -0,0 +1,86 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
2084
Microsoft-Office-Electron-Linux-AppImage/yarn.lock
Normal file
BIN
Microsoft-Office-Electron-Linux/Intro Image.png
Normal file
|
After Width: | Height: | Size: 232 KiB |
BIN
Microsoft-Office-Electron-Linux/Loading.gif
Normal file
|
After Width: | Height: | Size: 504 KiB |
BIN
Microsoft-Office-Electron-Linux/icon.icns
Normal file
BIN
Microsoft-Office-Electron-Linux/icon.png
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
Microsoft-Office-Electron-Linux/icon2.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
Microsoft-Office-Electron-Linux/icons/icon.ico
Normal file
|
After Width: | Height: | Size: 44 KiB |
BIN
Microsoft-Office-Electron-Linux/icons/icon.png
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
Microsoft-Office-Electron-Linux/icons/icon2.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
21
Microsoft-Office-Electron-Linux/license.txt
Normal 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.
|
||||
159
Microsoft-Office-Electron-Linux/main.js
Normal file
@@ -0,0 +1,159 @@
|
||||
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();
|
||||
});
|
||||
87
Microsoft-Office-Electron-Linux/package.json
Normal file
@@ -0,0 +1,87 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
0
Microsoft-Office-Electron-Linux/renderer.js
Normal file
2084
Microsoft-Office-Electron-Linux/yarn.lock
Normal file
12
Microsoft-Office-Electron-Windows/.vscode/tasks.json
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"type": "npm",
|
||||
"script": "start",
|
||||
"problemMatcher": [],
|
||||
"label": "npm: start",
|
||||
"detail": "electron ."
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
Microsoft-Office-Electron-Windows/Intro Image.png
Normal file
|
After Width: | Height: | Size: 232 KiB |
BIN
Microsoft-Office-Electron-Windows/Loading.gif
Normal file
|
After Width: | Height: | Size: 504 KiB |
BIN
Microsoft-Office-Electron-Windows/icon.ico
Normal file
|
After Width: | Height: | Size: 44 KiB |
BIN
Microsoft-Office-Electron-Windows/icon.png
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
Microsoft-Office-Electron-Windows/icon2.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
Microsoft-Office-Electron-Windows/icons/icon.ico
Normal file
|
After Width: | Height: | Size: 44 KiB |
BIN
Microsoft-Office-Electron-Windows/icons/icon.png
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
Microsoft-Office-Electron-Windows/icons/icon2.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
21
Microsoft-Office-Electron-Windows/license.txt
Normal 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.
|
||||
@@ -2,6 +2,8 @@ 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' }
|
||||
@@ -21,7 +23,7 @@ const template = [
|
||||
}] : []),
|
||||
// { role: 'fileMenu' }
|
||||
{
|
||||
label: 'Microsoft Office - Electron',
|
||||
label: 'Application',
|
||||
submenu: [
|
||||
{
|
||||
label: 'About Microsoft Office - Electron',
|
||||
@@ -91,7 +93,8 @@ const template = [
|
||||
{ role: 'toggleDevTools' },
|
||||
{ type: 'separator' },
|
||||
{ role: 'resetZoom' },
|
||||
{ role: 'zoomIn' },
|
||||
{ role: 'zoomIn',
|
||||
accelerator: process.platform === 'darwin' ? 'Control+=' : 'Control+=' },
|
||||
{ role: 'zoomOut' },
|
||||
{ type: 'separator' },
|
||||
{ role: 'togglefullscreen' }
|
||||
@@ -145,3 +148,11 @@ app.on('activate', () => {
|
||||
createWindow()
|
||||
}
|
||||
})
|
||||
|
||||
try {
|
||||
require('electron-reloader')(module)
|
||||
} catch (_) {}
|
||||
|
||||
app.on('ready', function() {
|
||||
autoUpdater.checkForUpdatesAndNotify();
|
||||
});
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "microsoft-office-electron",
|
||||
"version": "0.1.0",
|
||||
"version": "0.1.1",
|
||||
"description": "An Unofficial Microsoft Office Online Desktop Client. Free of Cost.",
|
||||
"main": "main.js",
|
||||
"repository": {
|
||||
@@ -18,21 +18,23 @@
|
||||
"icon2.png"
|
||||
],
|
||||
"appId": "com.agampreet.microsoft-office-electron",
|
||||
"productName": "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",
|
||||
"Name": "Microsoft-Office-Electron",
|
||||
"StartupNotify": "true",
|
||||
"Terminal": "false",
|
||||
"Type": "Application",
|
||||
"Categories": "Utilities;Office;"
|
||||
},
|
||||
"icon": "icon.png",
|
||||
"executableName": "microsoft-office-electron",
|
||||
"maintainer": "Agampreet Singh <agampreet628@gmail.com>",
|
||||
"maintainer": "Agampreet Singh <agam778singh@outlook.com>",
|
||||
"target": [
|
||||
"AppImage"
|
||||
"deb",
|
||||
"rpm"
|
||||
]
|
||||
},
|
||||
"mac": {
|
||||
@@ -63,16 +65,20 @@
|
||||
},
|
||||
"author": {
|
||||
"author": "Agampreet Singh",
|
||||
"email": "agampreet628@gmail.com",
|
||||
"email": "agam778singh@outlook.com",
|
||||
"url": "https://agam778.github.io/"
|
||||
},
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"electron": "^12.0.0",
|
||||
"electron-builder": "^22.10.5"
|
||||
"electron-builder": "^22.10.5",
|
||||
"electron-reloader": "^1.2.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"about-window": "^1.14.0",
|
||||
"electron-updater": "^4.3.8"
|
||||
"custom-electron-titlebar": "^3.2.7",
|
||||
"electron-reload": "^1.5.0",
|
||||
"electron-updater": "^4.3.9",
|
||||
"update-electron-app": "^2.0.1"
|
||||
}
|
||||
}
|
||||
0
Microsoft-Office-Electron-Windows/renderer.js
Normal file
2077
Microsoft-Office-Electron-Windows/yarn.lock
Normal file
BIN
Preview/Fedora Preview.png
Normal file
|
After Width: | Height: | Size: 276 KiB |
BIN
Preview/Ubuntu Preview.png
Normal file
|
After Width: | Height: | Size: 215 KiB |
|
Before Width: | Height: | Size: 698 KiB After Width: | Height: | Size: 698 KiB |
68
README.md
@@ -4,10 +4,21 @@ An Unofficial Microsoft Office Online Desktop Client made with Electron. Free of
|
||||
|
||||
<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
|
||||
# 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
|
||||
|
||||
@@ -17,9 +28,58 @@ For those people who can't afford Microsoft Office Subscription, or don't want t
|
||||
|
||||
**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***
|
||||
|
||||
# Windows
|
||||
## Preview
|
||||
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*
|
||||
|
||||