-
Notifications
You must be signed in to change notification settings - Fork 19
1010 setting the ld_library_path on linux systems #76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1010 setting the ld_library_path on linux systems #76
Conversation
witcher112
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some questions.
| string launchScriptPath = LaunchScriptPath(buildPath); | ||
| string launchScriptContent = File.ReadAllText(LaunchScriptContentFile); | ||
|
|
||
| File.WriteAllText(launchScriptPath, launchScriptContent); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not just copy the file?
| Target = "sh", | ||
| Arguments = new Manifest.Argument[] { | ||
| new Manifest.Argument { Value = new string[] { | ||
| "{exedir}" + launchScript |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure that {exedir} ends with slash?
| patcherExe, | ||
| "{secret}", | ||
| "{installdir}" | ||
| }}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why there are four arguments bundled in one structure?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The first argument:
"{exedir}" + launchScript is the shell script itself, I figured it'd be fitting to put it in a separate structure.
These four arguments are the required script arguments.
And below that there's also the optional lockfile argument.
It's basically a stylistic choice
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, if it works then it's all right.
No description provided.