double escapes the install path quotes for macos

This commit is contained in:
thatben 2025-02-19 12:45:39 +01:00
parent 5b8d023979
commit 28c509ae5f
No known key found for this signature in database
GPG Key ID: 62C543548433D43E

View File

@ -161,7 +161,7 @@ export async function installCodex(config, showNavigationMenu) {
eval {
local $SIG{ALRM} = sub { die "timeout\\n" };
alarm(120);
system("INSTALL_DIR=\"${installPath}\" bash install.sh");
system("INSTALL_DIR=\\"${installPath}\\" bash install.sh");
alarm(0);
};
die if $@;