Updated Source code for v0.1.1 build

Former-commit-id: a0817f6431
This commit is contained in:
Agampreet Singh
2021-06-22 10:25:58 +05:30
parent 276e9dd032
commit 0da3232ceb
16 changed files with 730 additions and 586 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 919 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

View File

@@ -1 +0,0 @@
b4c3dd1532110ae998bf532424480fbf315215ef

View File

@@ -1 +0,0 @@
70c9072cc755db048590de2db60e9eef13e4538a

View File

@@ -1 +0,0 @@
a67c3432598335986497c3a109ea3a5514bb4d66

View File

@@ -1 +0,0 @@
18f882dfef98638ef3ec0b63e49cf2ead545ad45

View File

@@ -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();
});

View File

@@ -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": {
@@ -31,7 +31,7 @@
},
"icon": "icon.png",
"executableName": "microsoft-office-electron",
"maintainer": "Agampreet Singh <agampreet628@gmail.com>",
"maintainer": "Agampreet Singh <agam778singh@outlook.com>",
"target": [
"deb",
"rpm"
@@ -65,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"
}
}

View File

@@ -1 +0,0 @@
1348dde5b6b7779386124791bbcf7e66480c7ecc

File diff suppressed because it is too large Load Diff