mirror of
https://github.com/jcefmaven/jcefbuild.git
synced 2025-09-20 06:16:37 +08:00
Patch further jetbrains changes
This commit is contained in:
parent
fc7b23686b
commit
70be54d496
@ -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
|
||||||
|
@ -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()
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user