Added version to export settings filename

このコミットが含まれているのは:
ManeraKai 2023-05-25 13:51:07 +03:00
コミット 822e624bb9
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: 5ABC31FFD562E337
1個のファイルの変更1行の追加1行の削除

ファイルの表示

@ -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()