forked from ProtonMail/WebClients
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Few changes were required to make it happen: 1. base url must point to ./ and all asset refrences must use relative paths. 2. Angular must be updated to 1.5.10 due to this bug angular/angular.js#11091 3. Second package.json, specifically for electron app, is added. 4. main.js file with electron initalisation code is added.
- Loading branch information
Sergey Tatarintsev
committed
Oct 9, 2016
1 parent
032f753
commit 6c3e0e4
Showing
6 changed files
with
74 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
const electron = require('electron'); | ||
|
||
const BrowserWindow = electron.BrowserWindow; | ||
|
||
electron.app && electron.app.on('ready', () => { | ||
const mainWindow = new BrowserWindow(); | ||
|
||
mainWindow.loadURL(`file://${__dirname}/app.html`) | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"name": "charge-app", | ||
"version": "0.1.0", | ||
"description": "Proton mail desktop client", | ||
"main": "main.js", | ||
"author": "Sergey Tatarintsev <sergey@tatarintsev.me> (https://github.com/SevInf)", | ||
"license": "MIT" | ||
} |