We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parenta8ef770 commitafc6a15Copy full SHA for afc6a15
whitebox/download_wbt.py
@@ -124,14 +124,16 @@ def safe_extract(
124
runner_path=os.path.join(exe_dir,runner_name)
125
126
# grant executable permission
127
-os.system("chmod 755 "+exe_path)
128
-os.system("chmod 755 "+runner_path)
+ifplatform.system()!="Windows":
+os.system("chmod 755 "+exe_path)
129
+os.system("chmod 755 "+runner_path)
130
plugins=list(
131
set(glob.glob(os.path.join(new_plugin_dir,"*")))
132
-set(glob.glob(os.path.join(new_plugin_dir,"*.json")))
133
)
-forplugininplugins:
134
-os.system("chmod 755 "+plugin)
135
+forplugininplugins:
136
+os.system("chmod 755 "+plugin)
137
138
exe_path_new=os.path.join(pkg_dir,exe_name)
139
shutil.copy(exe_path,exe_path_new)