From 8ce124dc15eef2e8b79fae7caa3816457ddf8d44 Mon Sep 17 00:00:00 2001 From: Jim Berlage Date: Thu, 24 May 2018 12:55:01 -0500 Subject: [PATCH] Updates UWP code generator to use new windows file layout --- re-natal.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/re-natal.coffee b/re-natal.coffee index bd3c616..e17a8a1 100644 --- a/re-natal.coffee +++ b/re-natal.coffee @@ -507,7 +507,7 @@ generateWindowsProject = (projName) -> exec "node -e \"require('react-native-windows/local-cli/generate-windows')('.', '#{projName}', '#{projName}')\"" fs.unlinkSync 'App.windows.js' - appReactPagePath = "windows/#{projName}/MainPage.cs" + appReactPagePath = "windows/#{projName}/MainReactNativeHost.cs" edit appReactPagePath, [[/public.*JavaScriptMainModuleName(.*\s+){4}return\s+"index";(\s+.*){2}/g, ""]] generateWpfProject = (projName) ->