Skip to content

Commit

Permalink
Unset some mono env vars when setting up legacyRef
Browse files Browse the repository at this point in the history
  • Loading branch information
Popax21 committed Sep 5, 2023
1 parent 893a408 commit b757b3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Celeste.Mod.mm/Mod/Everest/Everest.Updater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ private static Process DoUpdate(OuiLoggedProgress progress, Entry version, strin
if (isUpdate) {
installer.StartInfo.Arguments = $"-c \"kill -0 {pid}; while [ $? = \\\"0\\\" ]; do sleep 1; kill -0 {pid}; done; unset MONO_PATH LD_LIBRARY_PATH LC_ALL MONO_CONFIG; {pathToMono} MiniInstaller.exe\"";
} else {
installer.StartInfo.Arguments = $"-c \"{pathToMono} MiniInstaller.exe\"";
installer.StartInfo.Arguments = $"-c \"unset MONO_PATH LD_LIBRARY_PATH LC_ALL MONO_CONFIG; {pathToMono} MiniInstaller.exe\"";
}
}
}
Expand Down

0 comments on commit b757b3b

Please sign in to comment.