Skip to content

Commit

Permalink
eoeo
Browse files Browse the repository at this point in the history
  • Loading branch information
teinarss committed Jun 3, 2020
1 parent 801abac commit 0c12099
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -67,3 +67,4 @@ StyleCopViolations.xml

# IntelliJ files
.idea
/test
12 changes: 6 additions & 6 deletions build-win.ps1
@@ -1,10 +1,10 @@
# dotnet clean
dotnet build OpenRA.WindowsLauncher\OpenRA.WindowsLauncher.csproj -p:ApplicationIcon=C:\projects\OpenRa1\packaging\windows\RedAlert.ico --no-incremental
(Get-Content "OpenRA.WindowsLauncher\ModConfig.cs.in").replace('DISPLAY_NAME', 'Red Alert').replace('MOD_ID', 'ra').replace('FAQ_URL', 'http://wiki.openra.net/FAQ') | Set-Content "OpenRA.WindowsLauncher\ModConfig.cs"
dotnet build OpenRA.WindowsLauncher\OpenRA.WindowsLauncher.csproj -p:icon=RedAlert.ico --no-incremental
Move-Item -Path OpenRA.WindowsLauncher.exe -Destination RedAlert.exe -Force
# dotnet clean
dotnet build OpenRA.WindowsLauncher\OpenRA.WindowsLauncher.csproj -p:ApplicationIcon=C:\projects\OpenRa1\packaging\windows\TiberianDawn.ico --force --no-incremental

dotnet build OpenRA.WindowsLauncher\OpenRA.WindowsLauncher.csproj -p:icon=TiberianDawn.ico --force --no-incremental
Move-Item -Path OpenRA.WindowsLauncher.exe -Destination TiberianDawn.exe -Force
# dotnet clean
dotnet build OpenRA.WindowsLauncher\OpenRA.WindowsLauncher.csproj -p:ApplicationIcon=C:\projects\OpenRa1\packaging\windows\Dune2000.ico --force --no-incremental

dotnet build OpenRA.WindowsLauncher\OpenRA.WindowsLauncher.csproj -p:icon=Dune2000.ico --force --no-incremental
Move-Item -Path OpenRA.WindowsLauncher.exe -Destination Dune2000.exe -Force
ie4uinit.exe -show

0 comments on commit 0c12099

Please sign in to comment.