Skip to content

Commit

Permalink
update to electron 15
Browse files Browse the repository at this point in the history
  • Loading branch information
squalou committed Dec 27, 2021
1 parent e5511b5 commit 01207b0
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 66 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ An electron-base client for Google Hangouts Chat, since Google didn't see fit to

## CHANGELOG

### 5.15.16-1

Update to electron 15.3.2

### 5.14.16-1

* Good Bye Themes !
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ Dependency is taken care of in AUR Arch package and Debian package.

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

### 5.15.16-1

electron 15

### 5.14.16-1

* Good Bye Themes ! (they didn't work anymore anyway)
Expand Down
107 changes: 43 additions & 64 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.14.16-1",
"version": "5.15.16-1",
"description": "Google Hangouts Chat unofficial linux app",
"main": "src/index.js",
"scripts": {
Expand Down Expand Up @@ -41,7 +41,7 @@
"path": "0.12.7"
},
"devDependencies": {
"electron": "=14.0.0",
"electron": "=15.3.2",
"electron-builder": ">=22.11.0"
}
}
2 changes: 2 additions & 0 deletions src/window.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,8 @@ const doNotRedirect = (url) => {

const handleRedirect = (e, url) => {
// leave redirect for double auth mechanism, trap crappy blocked url link
console.log(url)
console.log(e)
if (url.includes("about:blank")) {
e.preventDefault();
} else if ( ! openUrlInside && ! doNotRedirect(url)){
Expand Down

0 comments on commit 01207b0

Please sign in to comment.