Skip to content

Commit 97ad2c7

Browse files
committed
Rename DOORSTOP_RUNTIME_LIB_PATH -> DOORSTOP_MONO_LIB_PATH
1 parent 335de3c commit 97ad2c7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Doorstop sets some environment variables useful for code execution:
102102
| `DOORSTOP_PROCESS_PATH` | Path to the application executable where the injected assembly is run. |
103103
| `DOORSTOP_MANAGED_FOLDER_DIR` | *UnityMono*: Path to the game's `Managed` folder. *Il2Cpp*: Path to CoreCLR's base class library folder. |
104104
| `DOORSTOP_DLL_SEARCH_DIRS` | Paths where the runtime searchs assemblies from by default, separated by OS-specific separator (`;` on windows and `:` on *nix). |
105-
| `DOORSTOP_RUNTIME_LIB_PATH` | *Only on UnityMono*: Full path to the mono runtime library. |
105+
| `DOORSTOP_MONO_LIB_PATH` | *Only on UnityMono*: Full path to the mono runtime library. |
106106

107107
### Debugging
108108

src/nix/entrypoint.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
void capture_mono_path(void *handle) {
1010
char_t *result;
1111
get_module_path(handle, &result, NULL, 0);
12-
setenv("DOORSTOP_RUNTIME_LIB_PATH", result, TRUE);
12+
setenv(TEXT("DOORSTOP_MONO_LIB_PATH"), result, TRUE);
1313
}
1414

1515
static bool_t initialized = FALSE;

src/windows/entrypoint.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ bool_t WINAPI close_handle_hook(void *handle) {
6666
void capture_mono_path(void *handle) {
6767
char_t *result;
6868
get_module_path(handle, &result, NULL, 0);
69-
setenv("DOORSTOP_RUNTIME_LIB_PATH", result, TRUE);
69+
setenv(TEXT("DOORSTOP_MONO_LIB_PATH"), result, TRUE);
7070
}
7171

7272
bool_t initialized = FALSE;

0 commit comments

Comments
 (0)