diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index af814b4cf..cda98230e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -133,17 +133,6 @@ jobs: dotnet publish ArchiSteamFarm -c "$CONFIGURATION" -f "$NET_CORE_VERSION" -o "out/${1}" "-p:ASFVariant=$1" -p:ContinuousIntegrationBuild=true --no-restore --nologo $variantArgs - # If we're including any overlay for this variant, copy it to output directory - variant_os="$(echo "$1" | cut -d '-' -f 1)" - - if [ -d "ArchiSteamFarm/overlay/${variant_os}" ]; then - cp -pR "ArchiSteamFarm/overlay/${variant_os}/"* "out/${1}" - fi - - if [ "$1" != "$variant_os" ] && [ -d "ArchiSteamFarm/overlay/${1}" ]; then - cp -pR "ArchiSteamFarm/overlay/${1}/"* "out/${1}" - fi - # If we're including SteamTokenDumper plugin for this framework, copy it to output directory if [ -d "out/${STEAM_TOKEN_DUMPER_NAME}/${NET_CORE_VERSION}" ]; then mkdir -p "out/${1}/plugins/${STEAM_TOKEN_DUMPER_NAME}" @@ -254,17 +243,6 @@ jobs: throw "Last command failed." } - # If we're including any overlay for this variant, copy it to output directory - $variant_os = $variant.Split('-', 2)[0]; - - if (Test-Path "ArchiSteamFarm\overlay\$variant_os" -PathType Container) { - Copy-Item "ArchiSteamFarm\overlay\$variant_os\*" "out\$variant" -Recurse - } - - if (($variant -ne $variant_os) -and (Test-Path "ArchiSteamFarm\overlay\$variant" -PathType Container)) { - Copy-Item "ArchiSteamFarm\overlay\$variant\*" "out\$variant" -Recurse - } - # If we're including SteamTokenDumper plugin for this framework, copy it to output directory if (Test-Path "out\$env:STEAM_TOKEN_DUMPER_NAME\$targetFramework" -PathType Container) { if (!(Test-Path "out\$variant\plugins\$env:STEAM_TOKEN_DUMPER_NAME" -PathType Container)) { diff --git a/ArchiSteamFarm/ArchiSteamFarm.csproj b/ArchiSteamFarm/ArchiSteamFarm.csproj index 9b730a797..c54e8d4ed 100644 --- a/ArchiSteamFarm/ArchiSteamFarm.csproj +++ b/ArchiSteamFarm/ArchiSteamFarm.csproj @@ -78,4 +78,20 @@ www\%(RecursiveDir)%(Filename)%(Extension) + + + + PreserveNewest + true + %(RecursiveDir)%(Filename)%(Extension) + + + + + + PreserveNewest + true + %(RecursiveDir)%(Filename)%(Extension) + +