Patch further jetbrains changes

This commit is contained in:
Fritz Windisch 2023-08-07 16:54:01 +02:00
parent 625ddf50da
commit fc7b23686b

View File

@ -10,7 +10,10 @@ print("Patching "+input+" to use spotify for downloads again...")
f = open(input, "r")
result = ""
for x in f:
result += x.replace("https://cache-redirector.jetbrains.com/intellij-jbr/", "https://cef-builds.spotifycdn.com/")
result += x.replace("https://cache-redirector.jetbrains.com/intellij-jbr/", "https://cef-builds.spotifycdn.com/") \
.replace("_minimal", "") \
.replace(".zip", ".tar.bz2") \
.replace(".checksum", ".sha1")
f.close()