mirror of
https://github.com/ayasa520/redroid-script.git
synced 2026-11-25 22:25:22 +08:00
Fix variable naming and hardcoded path
Remove Dockerfile init
This commit is contained in:
1 parent
4ccbc05426
commit
dcb48bb2a4
11 files changed
+45
-25
No files matched your search
+2
-2
@@ -6,7 +6,7 @@ from tools.helper import bcolors, get_download_dir, print_color, run
|
||||
|
||||
class Widevine(General):
|
||||
download_loc = get_download_dir()
|
||||
vendor_image_mount = "./widevine"
|
||||
copy_dir = "./widevine"
|
||||
dl_link = "https://codeload.github.com/supremegamers/vendor_google_proprietary_widevine-prebuilt/zip/94c9ee172e3d78fecc81863f50a59e3646f7a2bd"
|
||||
dl_file_name = os.path.join(download_loc, "widevine.zip")
|
||||
extract_to = "/tmp/widevineunpack"
|
||||
@@ -20,4 +20,4 @@ class Widevine(General):
|
||||
run(["chmod", "+x", self.extract_to, "-R"])
|
||||
print_color("Copying widevine library files ...", bcolors.GREEN)
|
||||
shutil.copytree(os.path.join(self.extract_to, "vendor_google_proprietary_widevine-prebuilt-94c9ee172e3d78fecc81863f50a59e3646f7a2bd",
|
||||
"prebuilts"), os.path.join(self.vendor_image_mount, "vendor"), dirs_exist_ok=True)
|
||||
"prebuilts"), os.path.join(self.copy_dir, "vendor"), dirs_exist_ok=True)
|
||||
Reference in new issue
Block a user