mirror of
https://github.com/agam778/MS-365-Electron.git
synced 2026-02-17 09:02:10 +00:00
Compare commits
12 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e68f15b6fb | ||
|
|
2e0dcfe283 | ||
|
|
95253ce88c | ||
|
|
dcd03c5ad9 | ||
|
|
3808356a16 | ||
|
|
c6f2df4c23 | ||
|
|
7de47a699d | ||
|
|
de0940527a | ||
|
|
4f3adc36fc | ||
|
|
fa05f75c92 | ||
|
|
3c63b630c5 | ||
|
|
02ba39a57d |
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
node_modules/
|
||||
BIN
Intro_Image.png
Normal file
BIN
Intro_Image.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 122 KiB |
@@ -18,5 +18,4 @@ 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.
|
||||
|
||||
SOFTWARE.
|
||||
@@ -1,4 +1,4 @@
|
||||
<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"><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>
|
||||
|
||||
|
||||
25
main.js
25
main.js
@@ -1,10 +1,13 @@
|
||||
const { app, Menu, BrowserWindow, globalShortcut } = require("electron");
|
||||
const { dialog } = require("electron");
|
||||
const {
|
||||
app,
|
||||
Menu,
|
||||
BrowserWindow,
|
||||
globalShortcut,
|
||||
electron,
|
||||
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");
|
||||
|
||||
@@ -39,10 +42,10 @@ const template = [
|
||||
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",
|
||||
copyright: "Copyright (c) 2021 Agampreet Singh",
|
||||
package_json_dir: __dirname,
|
||||
bug_report_url:
|
||||
"https://github.com/agam778/Microsoft-Office-Electron/issues/",
|
||||
"https://github.com/agam778/MS-Office-Electron/issues/",
|
||||
bug_link_text: "Report an issue",
|
||||
adjust_window_size: "2",
|
||||
show_close_button: "Close",
|
||||
@@ -158,10 +161,6 @@ app.on("activate", () => {
|
||||
}
|
||||
});
|
||||
|
||||
try {
|
||||
require("electron-reloader")(module);
|
||||
} catch (_) {}
|
||||
|
||||
app.on("ready", function () {
|
||||
isOnline().then((online) => {
|
||||
if (online) {
|
||||
@@ -177,9 +176,7 @@ app.on("ready", function () {
|
||||
"Please check your Internet Connectivity. This app cannot run without an Internet Connection!",
|
||||
};
|
||||
|
||||
dialog.showMessageBox(null, options, (response, checkboxChecked) => {
|
||||
console.log(response);
|
||||
});
|
||||
dialog.showMessageBox(null, options);
|
||||
}
|
||||
});
|
||||
autoUpdater.checkForUpdatesAndNotify();
|
||||
|
||||
19
package.json
19
package.json
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ms-office-electron",
|
||||
"version": "0.3.1",
|
||||
"version": "0.3.2",
|
||||
"description": "An Unofficial Microsoft Office Online Desktop Client. Free of Cost.",
|
||||
"main": "main.js",
|
||||
"repository": {
|
||||
@@ -9,14 +9,12 @@
|
||||
},
|
||||
"build": {
|
||||
"extraFiles": [
|
||||
"Intro Image.png",
|
||||
"icon.png",
|
||||
"icon.ico",
|
||||
"license.txt",
|
||||
"icon2.png"
|
||||
],
|
||||
"appId": "com.agampreet.ms-office-electron",
|
||||
"productName": "ms-office-electron",
|
||||
"productName": "MS-Office-Electron",
|
||||
"linux": {
|
||||
"category": "Office",
|
||||
"desktop": {
|
||||
@@ -29,7 +27,7 @@
|
||||
},
|
||||
"icon": "icon.png",
|
||||
"artifactName": "MS-Office-Electron-Setup-${version}-x86_64.${ext}",
|
||||
"executableName": "MS Office - Electron",
|
||||
"executableName": "MS-Office-Electron",
|
||||
"maintainer": "Agampreet Singh <agam778@zohomail.in>",
|
||||
"target": [
|
||||
"deb",
|
||||
@@ -50,7 +48,7 @@
|
||||
"oneClick": false,
|
||||
"perMachine": false,
|
||||
"allowToChangeInstallationDirectory": false,
|
||||
"license": "license.txt",
|
||||
"license": "LICENSE",
|
||||
"artifactName": "MS-Office-Electron-Setup-${version}-x86_64.${ext}"
|
||||
},
|
||||
"win": {
|
||||
@@ -69,18 +67,17 @@
|
||||
},
|
||||
"author": {
|
||||
"name": "Agampreet Singh",
|
||||
"email": "agam778singh@outlook.com",
|
||||
"email": "agam778@zohomail.in",
|
||||
"url": "https://agam778.is-a.dev/"
|
||||
},
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"electron": "^15.1.1",
|
||||
"electron-builder": "^22.11.7"
|
||||
"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",
|
||||
"node-notifier": "^10.0.0"
|
||||
"is-online": "^9.0.1"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user