-
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Program.cs: Hide vcruntime140.dll from the user on Windows.
Instead of extracting the DLL to the same directory as the executable, this extracts it to the .NET created directory where libsodium.dll lives. This is unfortunately quite complicated because there are multiple directories that could be being used. The user can also avoid the default %TEMP%/.net directory by setting the DOTNET_BUNDLE_EXTRACT_BASE_DIR environment variable. See here: https://learn.microsoft.com/en-us/dotnet/core/deploying/single-file/overview?tabs=cli#native-libraries
- Loading branch information
1 parent
4c24110
commit 57e7236
Showing
1 changed file
with
25 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters