mirror of
https://github.com/ONLYOFFICE/build_tools.git
synced 2026-04-07 14:06:31 +08:00
.
This commit is contained in:
@ -33,6 +33,13 @@ def set_env(name, value):
|
||||
os.environ[name] = value
|
||||
return
|
||||
|
||||
def configure_common_apps():
|
||||
if ("windows" == host_platform()):
|
||||
os.environ["PATH"] = get_script_dir() + "/../tools/win/7z" + os.pathsep + get_script_dir() + "/../tools/win/curl" + os.pathsep + os.environ["PATH"]
|
||||
elif ("mac" == host_platform()):
|
||||
os.environ["PATH"] = get_script_dir() + "/../tools/mac" + os.pathsep + os.environ["PATH"]
|
||||
return
|
||||
|
||||
# file system -------------------------------------------
|
||||
def is_file(path):
|
||||
return os.path.isfile(get_path(path))
|
||||
|
||||
Reference in New Issue
Block a user