Skip to content

Conversation

mloccy
Copy link

@mloccy mloccy commented Sep 9, 2021

No description provided.

var prefix = platform != Platform.Windows ? "lib" : string.Empty;
var dllToCopy = Path.Combine(buildDir, "inst", "lib", $"{prefix}{nativeSettings.DLLTargets[index]}.{dllExtension}");
var filename = Path.GetFileNameWithoutExtension(dllToCopy);
File.Copy(dllToCopy, Path.Combine(embeddedFilesPath, $"{filename}.dll"), overwrite: true);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it okay to be assuming .dll here?

Copy link

@cherylart cherylart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wasn't able to run it, but looks good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants