Compare commits

..

No commits in common. "master" and "0.3.0" have entirely different histories.

3 changed files with 1 additions and 12 deletions

View file

@ -204,7 +204,6 @@ pub fn spawn_process<'a>(launcher: Launcher, env: Environment) -> Result<Context
if entry.is_some() & env.environment_append { if entry.is_some() & env.environment_append {
// Usually when injecting you want your modifications to take precedence so // Usually when injecting you want your modifications to take precedence so
// prepend is the correct operation // prepend is the correct operation
// Evaluate: std::env::join_paths
value = format!("{value}{ENV_VAR_SEPARATOR}{}", entry.unwrap()); // Has to hold value value = format!("{value}{ENV_VAR_SEPARATOR}{}", entry.unwrap()); // Has to hold value
} }
system_variables.insert(key, value); // If key exists, it will be replaced system_variables.insert(key, value); // If key exists, it will be replaced

View file

@ -1,10 +0,0 @@
[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

View file

@ -5,6 +5,6 @@ current_dir = '<REPLACE_THIS_FOR_YOUR_GAME_FOLDER>\Client\Binaries\Win64'
dll_list = ['<FULL_PATH_TO_SHOREKEEPER_DLL>'] dll_list = ['<FULL_PATH_TO_SHOREKEEPER_DLL>']
[environment] [environment]
#vars = ['TESTVAR1=AAAAAA', 'TESTVAR2=AAAAAA'] #environment = ['TESTVAR1=AAAAAA', 'TESTVAR2=AAAAAA']
#use_system_env = true #use_system_env = true
#environment_append = false #environment_append = false