Skip to content

Commit

Permalink
Added version to export settings filename
Browse files Browse the repository at this point in the history
  • Loading branch information
ManeraKai committed May 25, 2023
1 parent 0aaf49e commit 822e624
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/options/widgets/general.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ async function exportSettings() {
options.version = browser.runtime.getManifest().version
let resultString = JSON.stringify(options, null, " ")
exportSettingsElement.href = "data:application/json;base64," + btoa(resultString)
exportSettingsElement.download = "libredirect-settings.json"
exportSettingsElement.download = `libredirect-settings-v${options.version}.json`
return
}
exportSettings()
Expand Down

0 comments on commit 822e624

Please sign in to comment.