Skip to content

Commit

Permalink
Minor tidying up. Also the uninstaller will remove Appdata files
Browse files Browse the repository at this point in the history
  • Loading branch information
Mattk70 committed Feb 7, 2024
1 parent 73f8db3 commit e9fde76
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -4518,7 +4518,7 @@ function checkForMacUpdates() {
const latest = parseSemVer(latestVersion);
const current = parseSemVer(VERSION);

if (config.debug || isNewVersion(latest, current)) {
if (isNewVersion(latest, current)) {
const alertPlaceholder = document.getElementById('liveAlertPlaceholder')
const alert = (message, type) => {
const wrapper = document.createElement('div')
Expand Down
2 changes: 1 addition & 1 deletion js/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -2251,7 +2251,7 @@ const prepSummaryStatement = (included) => {
const db = STATE.db;

const included = STATE.selection ? [] : await getIncludedIDs();
prepSummaryStatement(included); console.log("included in summary:",included.length)
prepSummaryStatement(included);
const offset = species ? STATE.filteredOffset[species] : STATE.globalOffset;
let range, files = [];
if (['explore', 'chart'].includes(STATE.mode)) {
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,9 @@
"!node_modules/ffprobe-static-electron/bin/mac${/*}"
]
},
"nsis":{
"deleteAppDataOnUninstall": true
},
"win": {
"publish": [
"github"
Expand Down

0 comments on commit e9fde76

Please sign in to comment.