-
-
Notifications
You must be signed in to change notification settings - Fork 472
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
Support custom environment variables #312
Comments
Please let me know if the changes proposed in #320 solve your problem! |
I'm not using Visual Studio or Rider, I don't even have either installed, I just ran |
Oh that' interesting. It should work as the CI uses this exact script and it produces correct artifacts. Does the build log contain any errors or warnings? |
There are a few... in the "Building .NET x64 binaries MSBuild version 17.9.8+b34f75857 for .NET" section, there's a few access errors like this:
|
The files appear to be locked by a different process. Are you sure you do not have an instance of dnSpy running form the output directory already or that any sort of other software is accessing said files? |
There definitely wasn't any other dnSpys running. I had a cmd in the root dnSpy directory but that shouldn't affect anything. To be sure, I rebuilt with that window closed to no luck. I'm still not certain exactly which executable I should be running, as best as I can tell there's about eight of them built. However, any |
Just to make sure, here are the correct output paths for the completely compiled binaries: .NET Framework: Other directories are either temporary and used by the compiler or produce incomplete outputs. Please ensure you are using files from the appropriate directories and that the build log contains not errors. If the errors persist try to reboot your computer and try to build again before opening any other software which could interfere with the directory. |
Thank you so much for your work and patience. I can confirm that it works as intended. I was indeed using the wrong location for the 32-bit exe. I was working off the last lines of the build output, which are:
As such I had completely overlooked Anyways, I'm super impressed with how well this works, and dnSpyEx in general! Thanks again! |
Great to hear that you got your build working and that the feature is working well. I went ahead and merged it into master and the CI is currently building the latest version which you can grab from the link below which includes all changes from master and the environment variable editor. |
Problem Description
Steam passes environment variables to games. For example, when I run Human Fall Flat, the executable has these (among other) variables to it:
Some games rely on these variables to work properly, especially online functionality.
Proposal
It would be helpful, if, when running Debug Program, a list of environment variables could be passed, similar to how custom arguments can currently be passed.
Alternatives
A debug build can be created for Unity games, and then a debug build run via Steam can be connected to.
Additional Context
No response
The text was updated successfully, but these errors were encountered: