From 95cfeb0ab913fd78222ebd1f286912073e53134f Mon Sep 17 00:00:00 2001
From: ojlanders <143576142+ojlanders@users.noreply.github.com>
Date: Thu, 1 Feb 2024 16:13:30 -0500
Subject: [PATCH] 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.
---
 scenes/shell.gd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scenes/shell.gd b/scenes/shell.gd
index e406540..2648942 100644
--- a/scenes/shell.gd
+++ b/scenes/shell.gd
@@ -8,7 +8,7 @@ var _os = OS.get_name()
 
 func _init():
 	# 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)
 	_cwd = game.tmp_prefix