Patch further jetbrains changes

This commit is contained in:
Fritz Windisch 2023-08-07 17:04:03 +02:00
parent fc7b23686b
commit 70be54d496
4 changed files with 9 additions and 4 deletions

View File

@ -47,6 +47,7 @@ fi
#CMake patching #CMake patching
python3 ../scripts/patch_cmake.py cmake/DownloadCEF.cmake python3 ../scripts/patch_cmake.py cmake/DownloadCEF.cmake
python3 ../scripts/patch_cmake.py CMakeLists.txt
# Create and enter the `jcef_build` directory. # Create and enter the `jcef_build` directory.
# The `jcef_build` directory name is required by other JCEF tooling # The `jcef_build` directory name is required by other JCEF tooling

View File

@ -5,15 +5,17 @@ import sys
input = sys.argv[1] input = sys.argv[1]
print("Patching "+input+" to use spotify for downloads again...") print("Patching "+input+"...")
f = open(input, "r") f = open(input, "r")
result = "" result = ""
for x in f: 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("_minimal", "") \
.replace(".zip", ".tar.bz2") \ .replace(".zip", ".tar.bz2") \
.replace(".checksum", ".sha1") .replace(".checksum", ".sha1") \
.replace("SHA256", "SHA1") \
.replace("x86_64", "amd64")
f.close() f.close()

View File

@ -30,6 +30,7 @@ fi
#CMake patching #CMake patching
python3 /builder/patch_cmake.py cmake/DownloadCEF.cmake python3 /builder/patch_cmake.py cmake/DownloadCEF.cmake
python3 /builder/patch_cmake.py CMakeLists.txt
# Create and enter the `jcef_build` directory. # Create and enter the `jcef_build` directory.
# The `jcef_build` directory name is required by other JCEF tooling # The `jcef_build` directory name is required by other JCEF tooling

View File

@ -27,6 +27,7 @@ fi
#CMake patching #CMake patching
python3 /builder/patch_cmake.py cmake/DownloadCEF.cmake python3 /builder/patch_cmake.py cmake/DownloadCEF.cmake
python3 /builder/patch_cmake.py CMakeLists.txt
# Create and enter the `jcef_build` directory. # Create and enter the `jcef_build` directory.
# The `jcef_build` directory name is required by other JCEF tooling # The `jcef_build` directory name is required by other JCEF tooling