File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -76,8 +76,8 @@ def move_files_to_lib(platform: str):
7676 .resolve ()
7777 )
7878 if platform == "win32" :
79- adb_path = adb_path + ".exe"
80- adb_target_path = adb_target_path + ".exe"
79+ adb_path /= ".exe"
80+ adb_target_path /= ".exe"
8181 logger .info (adb_target_path )
8282 adb_path .rename (adb_target_path )
8383 # move fastboot
@@ -92,8 +92,8 @@ def move_files_to_lib(platform: str):
9292 .resolve ()
9393 )
9494 if platform == "win32" :
95- fb_path = fb_path + ".exe"
96- fb_target_path = fb_target_path + ".exe"
95+ fb_path /= ".exe"
96+ fb_target_path /= ".exe"
9797 fb_path .rename (fb_target_path )
9898 # move heimdall
9999 hd_path = Path (__file__ ).parent .joinpath (Path (os .sep .join ([".." , "heimdall" , "heimdall" ]))).resolve ()
@@ -103,8 +103,8 @@ def move_files_to_lib(platform: str):
103103 .resolve ()
104104 )
105105 if platform == "win32" :
106- hd_path = hd_path + ".exe"
107- hd_target_path = hd_target_path + ".exe"
106+ hd_path /= ".exe"
107+ hd_target_path /= ".exe"
108108 hd_path .rename (hd_target_path )
109109 logger .info ("DONE." )
110110 # make executable
You can’t perform that action at this time.
0 commit comments