File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -86,12 +86,9 @@ public override async Task RunAsync(BuildContext context)
8686 var readMePath = $ "{ readMeName } ";
8787
8888 var licensePath = context . PackContext . LicensePath ;
89- var licenseName = "LICENSE" ;
89+ var licenseName = System . IO . Path . GetFileName ( licensePath ) ;
9090
91- if ( licensePath . EndsWith ( ".txt" ) ) licenseName += ".txt" ;
92- else if ( licensePath . EndsWith ( ".md" ) ) licenseName += ".md" ;
93-
94- var librariesToInclude = from rid in downloadedRids from filePath in Directory . GetFiles ( $ "runtimes/{ rid } /native")
91+ var librariesToInclude = from rid in downloadedRids from filePath in Directory . GetFiles ( $ "runtimes/{ rid } /native")
9592 select $ "<Content Include=\" { filePath } \" ><PackagePath>runtimes/{ rid } /native</PackagePath></Content>";
9693
9794 // Generate Project
You can’t perform that action at this time.
0 commit comments