Skip to content

Commit

Permalink
update to electron 12
Browse files Browse the repository at this point in the history
  • Loading branch information
squalou committed Apr 12, 2021
1 parent 268fc0e commit bc73061
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 20 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,19 @@ An electron-base client for Google Hangouts Chat, since Google didn't see fit to

## CHANGELOG

### 5.12.10-1

Upgrade electron version to 12.

With electron 12 : The default values of contextIsolation and worldSafeExecuteJavaScript are now true. #27949 #27502
As a result in this app : contextIsolation is forced to `false` in order to have systray integration work as previously.

### 5.11.10-2 and -3

Upgrade dependencies (vulnerability fix)

Add "windows" packaging configuration : `npm run dist` produces a nice installer on windows platform now :-)

### 5.11.10-1

Add a secondary "dark theme" accessible in "View" Menu.
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ See [Systray support](#systray-support) notes.

See full [CHANGELOG](./CHANGELOG.md).

5.12.10-1: electron 12

- Windows support : `npm install && npm run dist` can now be run on Windows platform to build an installer.

5.11.10-1: add experimental dark theme (activate on "View" menu)

5.11.9-1: electron 11 (*Apple M1* native support)
Expand Down
34 changes: 17 additions & 17 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "google-chat-linux",
"version": "5.11.10-3",
"version": "5.12.10-1",
"description": "Google Hangouts Chat unofficial linux app",
"main": "src/index.js",
"scripts": {
Expand Down Expand Up @@ -40,7 +40,7 @@
"path": "0.12.7"
},
"devDependencies": {
"electron": "=11.2.1",
"electron": "=12.0.2",
"electron-builder": ">=22.6.0"
}
}
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ let mainWindow, systemTrayIcon, config, contextMenu;
process.env.NODE_OPTIONS="--no-force-async-hooks-checks";
process.env.ELECTRON_DISABLE_SANDBOX=true;

process.title = 'Google Chat Linux (Unofficial)';
process.title = 'Google Chat Linux';
console.log(process.title + ' - v' + applicationVersion);
console.log('Node.js runtime version:', process.version);

Expand Down
1 change: 1 addition & 0 deletions src/window.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ const getBrowserWindowOptions = (config) => {
"autoHideMenuBar": true,
"webPreferences": {
"nodeIntegration": config.enableNodeIntegration,
"contextIsolation": false,
"sandbox": false,
"spellcheck": true
},
Expand Down

0 comments on commit bc73061

Please sign in to comment.