Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
- bug fix
  • Loading branch information
SkillfulElectro authored Jun 12, 2024
1 parent ffd7623 commit dbb47a2
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,8 @@ app.whenReady().then(() => {
const install_check = process.argv.indexOf('-v');

if (install_check !== -1) {
console.log('1.0.8');
console.log('1.0.9');
app.quit();
return;
}

Expand All @@ -287,8 +288,12 @@ app.whenReady().then(() => {

// just to make sure
app.on('will-quit' , () => {
custtomSession.clearStorageData()
session.defaultSession.clearStorageData()
try {
custtomSession.clearStorageData()
session.defaultSession.clearStorageData()
}catch(error){

}
})

app.on('window-all-closed', () => {
Expand Down

0 comments on commit dbb47a2

Please sign in to comment.