mirror of
https://github.com/revanced/revanced-manager
synced 2024-05-14 13:56:57 +02:00
remove newlines from base64 output
This commit is contained in:
parent
99c92069b9
commit
378d62395a
@ -40,7 +40,7 @@ class LegacySettingsProvider : ContentProvider() {
|
||||
val keystoreFile = File(context!!.getExternalFilesDir(null), "/revanced-manager.keystore")
|
||||
if (keystoreFile.exists()) {
|
||||
val keystoreBytes = keystoreFile.readBytes()
|
||||
val keystoreBase64 = Base64.encodeToString(keystoreBytes, Base64.DEFAULT)
|
||||
val keystoreBase64 = Base64.encodeToString(keystoreBytes, Base64.DEFAULT).replace("\n", "")
|
||||
json.put("keystore", keystoreBase64)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user