Fix win32 Busybox compat

Greatly improves subprocess execution times. Just replace dependencies\windows\git\usr\bin\bash.exe with https://frippery.org/files/busybox/busybox.exe after merging.
This commit is contained in:
ojlanders 2024-02-01 16:13:30 -05:00 committed by GitHub
parent ce9fcda773
commit 95cfeb0ab9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,7 +8,7 @@ var _os = OS.get_name()
func _init(): func _init():
# Create required directories and move into the tmp directory. # Create required directories and move into the tmp directory.
_cwd = "/tmp" _cwd = OS.get_user_data_dir() + "/tmp"
run("mkdir -p '%s/repos'" % game.tmp_prefix) run("mkdir -p '%s/repos'" % game.tmp_prefix)
_cwd = game.tmp_prefix _cwd = game.tmp_prefix