Skip to content
This repository has been archived by the owner on Jun 6, 2022. It is now read-only.

Commit

Permalink
save ads on every addon installed
Browse files Browse the repository at this point in the history
  • Loading branch information
antiwinter committed Aug 29, 2019
1 parent e53eff0 commit 9fa70c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ function install(ad, update, hook) {
_install(dec, cfg.getPath('addon'), ads.data[ad.key].sub, err => {
if (err) return notify('failed', 'failed to copy file')

ads.save()
notify('done', update ? 'updated' : 'installed')
})
})
Expand Down

0 comments on commit 9fa70c2

Please sign in to comment.