forked from SoapboxRaceWorld/GameLauncher_NFSW
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathBuild.ps1
519 lines (475 loc) · 22.6 KB
/
Build.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
param(
[Parameter(Mandatory=$true)]
[ValidateSet("0", "1", "2", "3", "4", "5")]
[string]$CompileMode
)
try
{
# Map numeric values to corresponding environments
$CompileModeMapping = @{
"0" = "Release"
"1" = "Beta"
"2" = "Development"
"3" = "Information (Release)"
"4" = "Information (Beta)"
"5" = "Information (Development)"
}
# Get the corresponding environment based on the provided code
$Environment = $CompileModeMapping[$CompileMode]
$EnvironmentInt = 0
#if(!(-not $Environment))
#{
#Write-Host "========== Selected environment: $Environment =========="
#}
if ($Environment -eq "Beta")
{
echo "========== Beta Build Mode =========="
$EnvironmentInt = 1
}
elseif ($Environment -eq "Development")
{
echo "========== Development Build Mode =========="
$EnvironmentInt = 2
}
elseif ($Environment -eq "Information (Release)")
{
echo "========== Information (Release) Build Mode =========="
$EnvironmentInt = 3
}
elseif ($Environment -eq "Information (Beta)")
{
echo "========== Information (Beta) Build Mode =========="
$EnvironmentInt = 4
}
elseif ($Environment -eq "Information (Development)")
{
echo "========== Information (Development) Build Mode =========="
$EnvironmentInt = 5
}
else
{
echo "========== Release Build Mode =========="
$EnvironmentInt = 0
}
}
catch
{
throw $_
exit 1
}
#Set for Development Console Release
$currentDate = $null
$currentTime = $null
try
{
# Get Path to C# class file
$buildInformationClassFilePath = "$PSScriptRoot\SBRW.Launcher.RunTime\InsiderKit\BuildInformation.cs"
# Read the C# class file
$buildInformationClassFileContent = Get-Content $buildInformationClassFilePath -Raw
# Update the constant variable BUILD_DATE with the current date
$currentDate = Get-Date -Format "MM-dd-yyyy"
$newBuildInfoContent = $buildInformationClassFileContent -replace 'const\s+string\s+DATE\s*=\s*".*";', "const string DATE = `"$currentDate`";"
# Create a Short Version of Current Date
$currentDateShort = Get-Date -Format "MM-dd-yy"
$newBuildInfoContent = $newBuildInfoContent -replace 'const\s+string\s+DATE_SHORT\s*=\s*".*";', "const string DATE_SHORT = `"$currentDateShort`";"
# Update the constant variable BUILD_TIME with the current UTC time
$currentTime = Get-Date -Format "HHmm"
$newBuildInfoContent = $newBuildInfoContent -replace 'const\s+string\s+TIME\s*=\s*".*";', "const string TIME = `"$currentTime`";"
$currentTimeSeconds = Get-Date -Format "ss"
$newBuildInfoContent = $newBuildInfoContent -replace 'const\s+string\s+TIME_SECONDS\s*=\s*".*";', "const string TIME_SECONDS = `"$currentTimeSeconds`";"
$currentTimeZone = Get-Date -Format "zzz"
$newBuildInfoContent = $newBuildInfoContent -replace 'const\s+string\s+TIME_ZONE\s*=\s*".*";', "const string TIME_ZONE = `"$currentTimeZone`";"
# Save the updated content back to the C# class file
$newBuildInfoContent | Set-Content $buildInformationClassFilePath -NoNewline
echo ([string]::Format("========== DATE updated to: {0} ==========", $currentDate))
echo ([string]::Format("========== DATE_SHORT updated to: {0} ==========", $currentDate))
echo ([string]::Format("========== TIME updated to: {0} ==========", $currentTime))
echo ([string]::Format("========== TIME_SECONDS updated to: {0} ==========", $currentTimeSeconds))
echo ([string]::Format("========== TIME_ZONE updated to: {0} ==========", $currentTimeZone))
}
catch
{
throw $_
exit 1
}
try
{
# Get Path to C# class files
$buildDevelopmentClassFilePath = "$PSScriptRoot\SBRW.Launcher.RunTime\InsiderKit\BuildDevelopment.cs"
$buildBetaClassFilePath = "$PSScriptRoot\SBRW.Launcher.RunTime\InsiderKit\BuildBeta.cs"
# Read the C# class file
$buildDevelopmentFileContent = Get-Content $buildDevelopmentClassFilePath -Raw
$buildBetaFileContent = Get-Content $buildBetaClassFilePath -Raw
# Set Conditionals
$BuildDevBoolean = "false"
$BuildBetaBoolean = "false"
# Beta Builds
if (($EnvironmentInt -eq 1) -or ($EnvironmentInt -eq 4))
{
$BuildDevBoolean = "false"
$BuildBetaBoolean = "true"
}
# Development Builds
elseif (($EnvironmentInt -eq 2) -or ($EnvironmentInt -eq 5))
{
$BuildDevBoolean = "true"
$BuildBetaBoolean = "false"
}
# Update the value
$newBuildDevContent = $buildDevelopmentFileContent -replace 'private static bool Enabled = .*;', ([string]::Format('private static bool Enabled = {0};', $BuildDevBoolean))
$newBuildBetaContent = $buildBetaFileContent -replace 'private static bool Enabled = .*;', ([string]::Format('private static bool Enabled = {0};', $BuildBetaBoolean))
# Save the updated content back to the C# class file
$newBuildDevContent | Set-Content $buildDevelopmentClassFilePath -NoNewline
$newBuildBetaContent | Set-Content $buildBetaClassFilePath -NoNewline
echo ([string]::Format("========== Development Enabled: {0} ==========", $BuildDevBoolean))
echo ([string]::Format("========== Beta Enabled: {0} ==========", $BuildBetaBoolean))
}
catch
{
throw $_
exit 1
}
function Update-Version
{
param (
[int]$LiveEnvironmentStatus,
[string]$LiveFilePath
)
#Get Path to csproj
$path = $LiveFilePath
#Read csproj (XML)
$xml = [xml](Get-Content $path)
#Retrieve Version Nodes
#Version Major
$versionMajor = $xml.Project.PropertyGroup.VersionMajor
$versionMajorUpgrade = $xml.Project.PropertyGroup.VersionMajorUpgrade
#Version Minor
$versionMinor = $xml.Project.PropertyGroup.VersionMinor
$versionMinorUpgrade = $xml.Project.PropertyGroup.VersionMinorUpgrade
#Version Build
$versionBuild = $xml.Project.PropertyGroup.VersionBuild
#Increment Build Version - Will reset all sub nodes
#Create Temporary Boolean for String Null Checks
$tempBool = $null
#Convert String to Booleans
if ([bool]::TryParse($versionMajorUpgrade, [ref]$tempBool))
{
# parsed to a boolean
$versionMajorUpgrade = $tempBool
}
else
{
$versionMajorUpgrade = $false
}
$tempBool = $null
if ([bool]::TryParse($versionMinorUpgrade, [ref]$tempBool))
{
# parsed to a boolean
$versionMinorUpgrade = $tempBool
}
else
{
$versionMinorUpgrade = $false
}
$tempBool = $null
#Update Version Numbers & Put new version back into csproj (XML)
if ($versionMajorUpgrade)
{
$xml.Project.PropertyGroup.VersionMajor = ([Convert]::ToInt32($versionMajor,10)+1).ToString()
$xml.Project.PropertyGroup.VersionMajorUpgrade = "false"
$xml.Project.PropertyGroup.VersionMinor = "0"
$xml.Project.PropertyGroup.VersionMinorUpgrade = "false"
$xml.Project.PropertyGroup.VersionBuild = "0"
}
else
{
if ($versionMinorUpgrade)
{
$xml.Project.PropertyGroup.VersionMinor = ([Convert]::ToInt32($versionMinor,10)+1).ToString()
$xml.Project.PropertyGroup.VersionMinorUpgrade = "false"
$xml.Project.PropertyGroup.VersionBuild = "0"
}
else
{
# Check if VersionBuild is even or odd
$versionBuildInt = [Convert]::ToInt32($versionBuild, 10)
if ($LiveEnvironmentStatus -eq 0 -and $versionBuildInt % 2 -eq 0)
{
# Even number, increment to the next even number (Should be on RELEASE MODE)
$versionBuildInt += 2
}
else
{
# Odd number, increment to the next odd number (Should be on DEBUG MODE)
$versionBuildInt++
}
$xml.Project.PropertyGroup.VersionBuild = $versionBuildInt.ToString()
}
}
# File Save with Formatting Settings
try
{
# Save csproj (XML) with preserving formatting
$settings = New-Object System.Xml.XmlWriterSettings
$settings.Indent = $true
$settings.IndentChars = " " # You can adjust the number of spaces for indentation
# Create a StringWriter to preserve formatting
$stringWriter = New-Object System.IO.StringWriter
$xmlWriter = [System.Xml.XmlWriter]::Create($stringWriter, $settings)
# Save XML (Cache) and Cleanup
$xml.Save($xmlWriter)
$xmlWriter.Close()
#Save csproj (Formatted XML)
$stringWriter.ToString() | Out-File $path -NoNewline
echo ([string]::Format("========== New Version Number: {0}.{1}.{2} ==========",$xml.Project.PropertyGroup.VersionMajor,$xml.Project.PropertyGroup.VersionMinor,$xml.Project.PropertyGroup.VersionBuild))
}
catch
{
throw $_
exit 1
}
}
try
{
if (!(($EnvironmentInt -eq 2) -or ($EnvironmentInt -eq 3) -or ($EnvironmentInt -eq 4) -or ($EnvironmentInt -eq 5)))
{
Update-Version -LiveEnvironmentStatus $EnvironmentInt -LiveFilePath "$PSScriptRoot\SBRW.Launcher.Net\SBRW.Launcher.csproj"
Update-Version -LiveEnvironmentStatus $EnvironmentInt -LiveFilePath "$PSScriptRoot\GameLauncher\GameLauncher.csproj"
}
else
{
echo ([string]::Format("========== New Version Number: {0}-{1} ==========",$currentDate, $currentTime))
}
}
catch
{
throw $_
exit 1
}
try
{
# Development Builds
if (($EnvironmentInt -eq 2) -or ($EnvironmentInt -eq 5))
{
# We need Debug Symbols so Lets Build in Debug Mode
echo "========== Building DEBUG Windows Build =========="
Invoke-Expression "dotnet build --configuration Debug"
echo "========== Building DEBUG Unix Build =========="
Invoke-Expression "dotnet build --configuration Debug.Unix"
}
else
{
echo "========== Building RELEASE Windows Build =========="
Invoke-Expression "dotnet build --configuration Release"
echo "========== Building RELEASE Unix Build =========="
Invoke-Expression "dotnet build --configuration Release.Unix"
}
}
catch
{
throw $_
exit 1
}
# SIG # Begin signature block
# MIIlkwYJKoZIhvcNAQcCoIIlhDCCJYACAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB
# gjcCAQSgWzBZMDQGCisGAQQBgjcCAR4wJgIDAQAABBAfzDtgWUsITrck0sYpfvNR
# AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4DAhoFAAQUTbDuijioVlu0iLU4t11ltJ3s
# AlOggh/lMIIEfjCCA2agAwIBAgIIdRbquLTQwT0wDQYJKoZIhvcNAQELBQAwRzEL
# MAkGA1UEBhMCVVMxGzAZBgNVBAoTElNvYXBib3ggUmFjZSBXb3JsZDEbMBkGA1UE
# AxMSU29hcGJveCBSYWNlIFdvcmxkMB4XDTI0MDMyMDA3MTMwMFoXDTI1MDMyMDA3
# MTMwMFowajEbMBkGA1UEChMSU29hcGJveCBSYWNlIFdvcmxkMRowGAYDVQQLDBFH
# YW1lTGF1bmNoZXJfTkZTVzEvMC0GA1UEAxMmU29hcGJveCBSYWNlIFdvcmxkIC0g
# TGF1bmNoZXIgRGl2aXNpb24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB
# AQDKKHfSgvl+ngzlqGCuxhlTR/FfEAB8UD+fPWqwZiVCaqKL5JWH1rBH1vA91Dqw
# i+kxUcAn1g9zBDeSJCmVeH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