Update configs to reflect interceptor changes
This commit is contained in:
parent
69250cf856
commit
4a7738dd3d
3 changed files with 12 additions and 1 deletions
|
@ -204,6 +204,7 @@ pub fn spawn_process<'a>(launcher: Launcher, env: Environment) -> Result<Context
|
|||
if entry.is_some() & env.environment_append {
|
||||
// Usually when injecting you want your modifications to take precedence so
|
||||
// prepend is the correct operation
|
||||
// Evaluate: std::env::join_paths
|
||||
value = format!("{value}{ENV_VAR_SEPARATOR}{}", entry.unwrap()); // Has to hold value
|
||||
}
|
||||
system_variables.insert(key, value); // If key exists, it will be replaced
|
||||
|
|
10
samples/nte.toml
Normal file
10
samples/nte.toml
Normal file
|
@ -0,0 +1,10 @@
|
|||
[launcher]
|
||||
executable_file = 'HTGame.exe'
|
||||
cmd_line_args = ''
|
||||
current_dir = '<REPLACE_THIS_FOR_YOUR_GAME_FOLDER>\Client\WindowsNoEditor\HT\Binaries\Win64'
|
||||
dll_list = ['<FULL_PATH_TO_NTR_DLL>']
|
||||
|
||||
[environment]
|
||||
#vars = ['TESTVAR1=AAAAAA', 'TESTVAR2=AAAAAA']
|
||||
#use_system_env = true
|
||||
#environment_append = false
|
|
@ -5,6 +5,6 @@ current_dir = '<REPLACE_THIS_FOR_YOUR_GAME_FOLDER>\Client\Binaries\Win64'
|
|||
dll_list = ['<FULL_PATH_TO_SHOREKEEPER_DLL>']
|
||||
|
||||
[environment]
|
||||
#environment = ['TESTVAR1=AAAAAA', 'TESTVAR2=AAAAAA']
|
||||
#vars = ['TESTVAR1=AAAAAA', 'TESTVAR2=AAAAAA']
|
||||
#use_system_env = true
|
||||
#environment_append = false
|
Loading…
Reference in a new issue