|
else if (Path.GetFullPath(outputPath) == fileInfo.FullName) |
|
{ |
|
Log.Warning("Can't write to {OutputPath} without --overwrite flag", outputPath); |
|
return; |
|
} |
There should be a check for --overwrite option.
How I use it:
assembly-publicizer somepath.dll --output somepath.dll --overwrite
BepInEx.AssemblyPublicizer/BepInEx.AssemblyPublicizer.Cli/PublicizeCommand.cs
Lines 66 to 70 in 874cfb6
There should be a check for --overwrite option.
How I use it:
assembly-publicizer somepath.dll --output somepath.dll --overwrite