Skip to content

Commit 324fae0

Browse files
committed
💻 Fix for Windows 10 build
1 parent 8401525 commit 324fae0

File tree

5 files changed

+21
-18
lines changed

5 files changed

+21
-18
lines changed

Assets/AppServices/table/query/CustomQuery.cs

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using System;
2-
using RestSharp.Contrib;
2+
using System.Text;
33

44
namespace Unity3dAzure.AppServices
55
{
@@ -38,12 +38,15 @@ public override string ToString()
3838
}
3939
return queryString;
4040
}
41-
41+
4242
private string encode(string url)
4343
{
44-
url = url.Replace ("'", "%27"); // replace "'" with '%27'
45-
return HttpUtility.UrlPathEncode (url); // replaces " " with '%20' and not '+'
44+
StringBuilder sb = new StringBuilder(url);
45+
sb.Replace(" ", "%20"); // NB: replace " " with %20 and not with '+'
46+
sb.Replace("'", "%27");
47+
sb.Replace(":", "%3A");
48+
return sb.ToString();
4649
}
47-
50+
4851
}
4952
}

Assets/Scenes/HighscoresDemo.unity

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3091,7 +3091,7 @@ MonoBehaviour:
30913091
m_HandleRect: {fileID: 1064423869}
30923092
m_Direction: 0
30933093
m_Value: 0
3094-
m_Size: 0.9999999
3094+
m_Size: 1
30953095
m_NumberOfSteps: 0
30963096
m_OnValueChanged:
30973097
m_PersistentCalls:
@@ -3938,7 +3938,7 @@ MonoBehaviour:
39383938
m_Script: {fileID: 11500000, guid: 9dcdeb5277262475c858002ec725ae70, type: 3}
39393939
m_Name:
39403940
m_EditorClassIdentifier:
3941-
_appUrl: PASTE_YOUR_APP_URL
3941+
_appUrl: YOUR_APP_URL
39423942
_tableView: {fileID: 371080080}
39433943
_cellPrefab: {fileID: 784713181}
39443944
--- !u!1 &1658579220

Assets/Scenes/InventoryDemo.unity

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3046,7 +3046,7 @@ MonoBehaviour:
30463046
m_HandleRect: {fileID: 1064423869}
30473047
m_Direction: 0
30483048
m_Value: 0
3049-
m_Size: 0.9999999
3049+
m_Size: 1
30503050
m_NumberOfSteps: 0
30513051
m_OnValueChanged:
30523052
m_PersistentCalls:
@@ -3749,7 +3749,7 @@ MonoBehaviour:
37493749
m_Script: {fileID: 11500000, guid: 6cbf7b4bb150744d19a51e4387ac47fa, type: 3}
37503750
m_Name:
37513751
m_EditorClassIdentifier:
3752-
_appUrl: PASTE_YOUR_APP_URL
3752+
_appUrl: YOUR_APP_URL
37533753
_facebookAccessToken:
37543754
_tableView: {fileID: 371080080}
37553755
_cellPrefab: {fileID: 146334083}

ProjectSettings/GraphicsSettings.asset

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@ GraphicsSettings:
4444
useReflectionProbeBoxProjection: 0
4545
useReflectionProbeBlending: 0
4646
m_ShaderSettings_Tier2:
47-
useCascadedShadowMaps: 0
48-
standardShaderQuality: 1
49-
useReflectionProbeBoxProjection: 0
50-
useReflectionProbeBlending: 0
47+
useCascadedShadowMaps: 1
48+
standardShaderQuality: 2
49+
useReflectionProbeBoxProjection: 1
50+
useReflectionProbeBlending: 1
5151
m_ShaderSettings_Tier3:
52-
useCascadedShadowMaps: 0
53-
standardShaderQuality: 1
54-
useReflectionProbeBoxProjection: 0
55-
useReflectionProbeBlending: 0
52+
useCascadedShadowMaps: 1
53+
standardShaderQuality: 2
54+
useReflectionProbeBoxProjection: 1
55+
useReflectionProbeBlending: 1
5656
m_BuildTargetShaderSettings: []
5757
m_LightmapStripping: 0
5858
m_FogStripping: 0

ProjectSettings/ProjectSettings.asset

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ PlayerSettings:
348348
metroCertificatePassword:
349349
metroCertificateSubject: DefaultCompany
350350
metroCertificateIssuer: DefaultCompany
351-
metroCertificateNotAfter: 00f3207df0b3d201
351+
metroCertificateNotAfter: 00b8c2822724d301
352352
metroApplicationDescription: MobileServicesDemo
353353
wsaImages: {}
354354
metroTileShortName:

0 commit comments

Comments
 (0)