Skip to content

Commit

Permalink
v0.0.63
Browse files Browse the repository at this point in the history
  • Loading branch information
therockerline committed May 7, 2024
1 parent 81765fe commit 0e03967
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nethlink",
"version": "0.0.62",
"version": "0.0.63",
"description": "Neth Connector app",
"main": "./out/main/main.js",
"license": "UNLICENSED",
Expand Down
8 changes: 5 additions & 3 deletions src/main/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,13 @@ app.whenReady().then(async () => {
title: "Aggiornamento dell'applicazione disponibile",
body: `Clicca quì per aprire la pagina dove potrai scaricare la nuova release`
})
notification.show()
notification.addListener('click', (e) => {
log(e)


notification.on('click', (e) => {
// log(e)
shell.openExternal(updateLink)
})
notification.show()
}
//log('call addOnBuildListener ')
nativeTheme.on('updated', () => {
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/src/pages/NethLinkPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ export function NethLinkPage({ themeMode }: NethLinkPageProps) {
// })
// } else {
// new Notification(title, options)
// TODO test prova a rimuovere l'icona dalla notifica in quanto secondo me la prende di default dalla build
// TODO test prova a rimuovere l'icona dalla notifica in quanto secondo me macOs la prende di default dalla build
if (navigator.userAgent.includes('Mac')) {
new Notification(title, {
body: body,
Expand Down

0 comments on commit 0e03967

Please sign in to comment.