Added version to export settings filename
This commit is contained in:
parent
0aaf49eef1
commit
822e624bb9
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user