|
@@ -1961,7 +1961,7 @@ Function LoadBootstrapConfig:TBootstrapConfig()
|
|
|
|
|
|
'Local i:Int
|
|
'Local i:Int
|
|
For Local assetLine:String = EachIn assets
|
|
For Local assetLine:String = EachIn assets
|
|
- Local parts:String[] = assetLine.Split("~t")
|
|
|
|
|
|
+ Local parts:String[] = SplitByWhitespace(assetLine)
|
|
If parts And parts.length > 1 Then
|
|
If parts And parts.length > 1 Then
|
|
Select parts[0]
|
|
Select parts[0]
|
|
Case "t"
|
|
Case "t"
|
|
@@ -1992,6 +1992,32 @@ Function LoadBootstrapConfig:TBootstrapConfig()
|
|
|
|
|
|
End Function
|
|
End Function
|
|
|
|
|
|
|
|
+Function SplitByWhitespace:String[](input:String)
|
|
|
|
+ Local result:String[] = New String[0]
|
|
|
|
+ Local tempString:String = ""
|
|
|
|
+
|
|
|
|
+ For Local i:Int = 0 Until input.Length
|
|
|
|
+ Local char:Int = input[i]
|
|
|
|
+
|
|
|
|
+ If char = 32 Or char = 9 Or char = 10 Or char = 13 Then
|
|
|
|
+
|
|
|
|
+ If tempString.Length > 0 Then
|
|
|
|
+ result :+ [tempString]
|
|
|
|
+ tempString = ""
|
|
|
|
+ End If
|
|
|
|
+ Else
|
|
|
|
+ tempString :+ Chr(char)
|
|
|
|
+ End If
|
|
|
|
+ Next
|
|
|
|
+
|
|
|
|
+ If tempString.Length > 0 Then
|
|
|
|
+ result :+ [tempString]
|
|
|
|
+ End If
|
|
|
|
+
|
|
|
|
+ Return result
|
|
|
|
+End Function
|
|
|
|
+
|
|
|
|
+
|
|
Extern
|
|
Extern
|
|
Function bmx_setfiletimenow(path:String)
|
|
Function bmx_setfiletimenow(path:String)
|
|
|
|
|