Skip to content
This repository has been archived by the owner on Nov 7, 2022. It is now read-only.

Commit

Permalink
hot-fixes for UWP: Window size issue, Platforms returns 'Windows' ins…
Browse files Browse the repository at this point in the history
…tead of UWP, invalid error message.
  • Loading branch information
EgorBo committed Feb 21, 2018
1 parent 14db353 commit 18d6576
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion Bindings/Portable/Application.cs
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,10 @@ public static Platforms Platform
return Platforms.Android;
#elif IOS
return Platforms.iOS;
#elif UWP_HOLO
return Platforms.SharpReality;
#elif UWP
return Platforms.UWP;
#endif
Runtime.Validate(typeof(Application));
if (platform == Platforms.Unknown)
Expand Down Expand Up @@ -636,7 +640,7 @@ internal static void ThrowUnhandledException(Exception exc)
#elif iOS
$"\n Assets must be located in '/Resources/{assetDir}' with 'BundleResource' Build Action.";
#elif WINDOWS_UWP || UWP_HOLO
$"\n Assets must be located in '/{assetDir}' with 'Resource' Build Action";
$"\n Assets must be located in '/{assetDir}' with 'Content' Build Action";
#else
$"\n Assets must be located in '/{assetDir}'";
#endif
Expand Down
2 changes: 1 addition & 1 deletion Urho3D/Source

0 comments on commit 18d6576

Please sign in to comment.