Skip to content

Commit

Permalink
Fix publish
Browse files Browse the repository at this point in the history
  • Loading branch information
mysteryx93 committed Jun 11, 2024
1 parent bccf8da commit f8c3a95
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dll/Bass/BassDlls.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup Condition="'$(RuntimeIdentifier)'=='linux-x64' or '$(RuntimeIdentifier)'==''">
<ItemGroup Condition="'$(RuntimeIdentifier)'=='linux-x64'">
<Content Include="linux-x64\**" >
<Link>%(Filename)%(Extension)</Link>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
Expand Down
2 changes: 1 addition & 1 deletion Dll/BassEnc/BassEncDlls.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup Condition="'$(RuntimeIdentifier)'=='linux-x64' or '$(RuntimeIdentifier)'==''">
<ItemGroup Condition="'$(RuntimeIdentifier)'=='linux-x64'">
<Content Include="linux-x64\**" >
<Link>%(Filename)%(Extension)</Link>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
Expand Down
3 changes: 2 additions & 1 deletion Publish/publish-osx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ echo "Output = $outPath/$outFile"
echo
rm -rf "$bundlePath" 2>/dev/null

dotnet publish "$proj2" -r $runtime -c Release --self-contained=true -p:PublishSingleFile=true -p:DebugType=None -p:DebugSymbols=false -o "$publishPath"
#dotnet publish "$proj2" -r $runtime -c Release --self-contained=true -p:PublishSingleFile=true -p:DebugType=None -p:DebugSymbols=false -o "$publishPath"
dotnet publish "$proj2" -r $runtime -c Release --self-contained=true -p:PublishSingleFile=true -o "$publishPath"
find "$publishPath" -maxdepth 1 -type f -name "*.xml" -delete

osxApp="$bundlePath/$1.app"
Expand Down
2 changes: 1 addition & 1 deletion Publish/publish-win
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ echo "Output = $outPath/$outFile"
echo
rm -rf "$publishPath" 2>/dev/null

dotnet publish "$proj" -r $runtime -c Release --self-contained=true -p:PublishSingleFile=true -p:DebugType=None -p:DebugSymbols=false -o $publishPath
dotnet publish "$proj" -r $runtime -c Release --self-contained=true -p:PublishSingleFile=true -o $publishPath
rm "$publishPath/*.xml"

# Create ZIP file
Expand Down

0 comments on commit f8c3a95

Please sign in to comment.