Skip to main content

write_wrapper_script

Function write_wrapper_script 

Source
pub fn write_wrapper_script(script_path: &Path) -> Result<()>
Expand description

Writes the wrapper script to script_path, marking it executable on Unix (the loader scripts fail to chainload otherwise).

The script names no target, so this is written once per game and never rewritten — see wrapper_script_contents.