|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 919 B |
|
Before Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 4.0 KiB |
|
Before Width: | Height: | Size: 73 KiB |
|
Before Width: | Height: | Size: 6.1 KiB |
@@ -1 +0,0 @@
|
||||
b4c3dd1532110ae998bf532424480fbf315215ef
|
||||
@@ -1 +0,0 @@
|
||||
70c9072cc755db048590de2db60e9eef13e4538a
|
||||
@@ -1 +0,0 @@
|
||||
a67c3432598335986497c3a109ea3a5514bb4d66
|
||||
@@ -1 +0,0 @@
|
||||
18f882dfef98638ef3ec0b63e49cf2ead545ad45
|
||||
@@ -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": {
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
269424d063f8bbe5da81b8645224d33ba946d6b0
|
||||
@@ -1 +0,0 @@
|
||||
1348dde5b6b7779386124791bbcf7e66480c7ecc
|
||||