Skip to content

Commit

Permalink
don't strip executables
Browse files Browse the repository at this point in the history
  • Loading branch information
BigBoot committed Oct 3, 2022
1 parent a30fdd5 commit a0225d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 16 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [2.1.3] - 2022-10-03
### Removed
- Don't strip executables, it breaks stuff

## [2.1.2] - 2022-10-03
### Added
Expand Down
16 changes: 0 additions & 16 deletions dist.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -25,29 +25,13 @@ if ($IsWindows)


dotnet publish -r win8-x64 -p:PublishSingleFile=true -p:PublishReadyToRun=true -p:DebugType=None -p:DebugSymbols=false --self-contained true -p:IncludeNativeLibrariesForSelfExtract=true -c Release -o build/win-x64 GiganticEmu.Launcher/GiganticEmu.Launcher.csproj
if (Get-Command "strip" -ErrorAction SilentlyContinue)
{
strip build/win-x64/GiganticEmu.Launcher.exe
}
Copy-Item -Path build/win-x64/GiganticEmu.Launcher.exe -Destination $Destination/MistforgeLauncher.exe

dotnet publish -r linux-x64 -p:PublishSingleFile=true -p:PublishReadyToRun=true -p:DebugType=None -p:DebugSymbols=false --self-contained true -p:IncludeNativeLibrariesForSelfExtract=true -c Release -o build/linux-x64 GiganticEmu.Launcher/GiganticEmu.Launcher.csproj
if (Get-Command "strip" -ErrorAction SilentlyContinue)
{
strip build/linux-x64/GiganticEmu.Launcher
}
Copy-Item -Path build/linux-x64/GiganticEmu.Launcher -Destination $Destination/MistforgeLauncher

dotnet publish -r win-x64 -p:PublishSingleFile=true -p:PublishReadyToRun=true -p:DebugType=None -p:DebugSymbols=false --self-contained true -p:IncludeNativeLibrariesForSelfExtract=true -c Release -o build/win-x64 GiganticEmu.Agent/GiganticEmu.Agent.csproj
if (Get-Command "strip" -ErrorAction SilentlyContinue)
{
strip build/win-x64/GiganticEmu.Agent.exe
}
Copy-Item -Path build/win-x64/GiganticEmu.Agent.exe -Destination $Destination/GiganticEmu.Agent.exe

dotnet publish -r linux-x64 -p:PublishSingleFile=true -p:PublishReadyToRun=false -p:DebugType=None -p:DebugSymbols=false --self-contained true -p:IncludeNativeLibrariesForSelfExtract=true -c Release -o build/linux-x64 GiganticEmu.Agent/GiganticEmu.Agent.csproj
if (Get-Command "strip" -ErrorAction SilentlyContinue)
{
strip build/linux-x64/GiganticEmu.Agent
}
Copy-Item -Path build/linux-x64/GiganticEmu.Agent -Destination $Destination/GiganticEmu.Agent

0 comments on commit a0225d6

Please sign in to comment.