Skip to content

Commit

Permalink
gr
Browse files Browse the repository at this point in the history
  • Loading branch information
Tzikas committed Jun 21, 2021
1 parent 42c8025 commit 74336ec
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
16 changes: 9 additions & 7 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,12 +196,7 @@ function createJitsiMeetWindow() {
defaultHeight: 600
});

let i = 0;
let winBadge = new Badge(windowState, { color: 'red' });
setInterval(() => {
i++
winBadge.update(i)
}, 10000)


// Path to root directory.
const basePath = isDev ? __dirname : app.getAppPath();
Expand Down Expand Up @@ -267,6 +262,13 @@ function createJitsiMeetWindow() {
});


let i = 0;
let winBadge = new Badge(mainWindow, { color: 'red' });
setInterval(() => {
i++
winBadge.update(i)
}, 10000)

//Lets see
//mainWindow.webContents.openDevTools() //This don't seem to do nothing

Expand All @@ -292,7 +294,7 @@ function createJitsiMeetWindow() {
}
app.setBadgeCount(app.getBadgeCount() + 1)
sound.play(path.join(__dirname, "resources/cowbell.wav"))
new Badge(windowState, { color: 'blue' });
new Badge(mainWindow, { color: 'blue' });

//New Room
console.log(path.join(__dirname), 'souuuuunnnndd')
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "CowBellClub",
"version": "1.4.8",
"version": "1.4.9",
"description": "Electron application for Cowbell Club",
"main": "./build/main.js",
"productName": "CowbellClub",
Expand Down

0 comments on commit 74336ec

Please sign in to comment.