diff --git a/openrct2.proj b/openrct2.proj index 58150f5e74..b8f662a925 100644 --- a/openrct2.proj +++ b/openrct2.proj @@ -10,26 +10,50 @@ $(MsBuildThisFileDirectory) $(RootDir)distribution\ + $(RootDir)artifacts\ + + $(TargetDir)data\g2.dat + + $(DistDir)windows\code-sign-key-openrct2.org.pfx + http://timestamp.comodoca.com/authenticode - + + + + + + + + + + + - + $(TargetDir)openrct2.exe - + + + + + + + - + - $(RootDir)artifacts\ $(ArtifactsDir)temp $(ArtifactsDir)openrct2.zip @@ -62,4 +86,22 @@ + + + + $(ArtifactsDir)openrct2-symbols + $(ArtifactsDir)openrct2-symbols-$(GitSha1Short).zip + + + + + + + + + + + <_7z Output="$(OutZip)" Inputs="@(SymbolItems)" /> + + diff --git a/openrct2.props b/openrct2.props index e5065fc6e5..b6d141c4fb 100644 --- a/openrct2.props +++ b/openrct2.props @@ -23,7 +23,15 @@ return false; } - string args = "a -tzip -mx9 -mtc=off \"" + Output + "\" \"" + Inputs + "\""; + var argsSB = new StringBuilder(); + argsSB.Append("a -tzip -mx9 -mtc=off "); + argsSB.Append("\"" + Output + "\" "); + foreach (string input in Inputs.Split(';')) + { + argsSB.Append("\"" + input + "\" "); + } + string args = argsSB.ToString(); + Log.LogMessage(MessageImportance.Normal, "7z " + args); var psi = new ProcessStartInfo(appPath, args);