WPF:WINDOWS Added ability to update application installed in Program Files folder (#813)

* Updated Windows Example

* Organized usings

* Fix for update application in write protected folder

* Typo fixed

* Examples updated to RNW 0.43.0

* Fixed Warning  CS0108
This commit is contained in:
Alexander Bodalevsky
2017-06-16 13:52:06 +03:00
committed by Sergey Akhalkov
parent 66cf73fe06
commit 6a1d1ffcac
13 changed files with 96 additions and 30 deletions

View File

@@ -9,6 +9,11 @@ namespace CodePush.ReactNative
{
internal partial class CodePushUtils
{
internal static string GetFileBundlePrefix()
{
return CodePushConstants.FileBundlePrefix;
}
internal async static Task<JObject> GetJObjectFromFileAsync(StorageFile file)
{
string jsonString = await FileIO.ReadTextAsync(file).AsTask().ConfigureAwait(false);