Skip to content

Commit

Permalink
Fix updater
Browse files Browse the repository at this point in the history
  • Loading branch information
saschaheim committed Sep 30, 2022
1 parent d86a91f commit 9f8633c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,11 @@ if (program.hostname == 'instagram.com' || program.hostname == 'www.instagram.co
}
}
})

// Check everytime for an update on calling this
if (!process.env.DEV) {
Update(program.VERSION)
}
} else {
new Modal({
heading: [
Expand All @@ -120,8 +125,4 @@ if (program.hostname == 'instagram.com' || program.hostname == 'www.instagram.co
}]
}).open()
}
// Check everytime for an update on calling this
if (!process.env.DEV) {
Update(program.VERSION)
}
/* ===== End of Program ======*/

0 comments on commit 9f8633c

Please sign in to comment.