-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathbootstrap.ps1
120 lines (115 loc) · 7.16 KB
/
bootstrap.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
param([String]$AirConfigPath="airsdk\32.0.0.116\frameworks\flex-config.xml")
Set-StrictMode -Version Latest
if (-not (Test-Path -Path $AirConfigPath -PathType Leaf)) {
"Supplied SDK Contig path is invalid. Please supply path to your flex-config.xml."
}
else
{
$LibraryXPath = "/flex-config/compiler/external-library-path/path-element"
$AdjustedLibraryPath = "libs/player/32.0/playerglobal.swc"
$NewXml = [XML](Get-Content $AirConfigPath)
$NewXml | Select-Xml -XPath $LibraryXPath | ForEach-Object {$_.Node.set_Innerxml($AdjustedLibraryPath)}
$NewXml.Save($AirConfigPath)
"Successfully bootstrapped the Air SDK."
}
# SIG # Begin signature block
# MIISggYJKoZIhvcNAQcCoIISczCCEm8CAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCDzyShCKMdsPnSU
# Gg7+RFmPkCdervR5QVGm8HmTygqZGKCCDaQwggNpMIICUaADAgECAhBHAdI3ecdg
# vkGGpG/BMAlaMA0GCSqGSIb3DQEBCwUAMDoxFDASBgNVBAMMC0FkYW0gQnJ5YW50
# MSIwIAYJKoZIhvcNAQkBFhNoZWxsb0BhZGFtYnJ5YW50LmNhMB4XDTIwMDQwNDA0
# MTM1N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