Skip to content

Commit

Permalink
Updates UWP code generator to use new windows file layout
Browse files Browse the repository at this point in the history
  • Loading branch information
jimberlage committed May 24, 2018
1 parent 5572718 commit 8ce124d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion re-natal.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -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) ->
Expand Down

0 comments on commit 8ce124d

Please sign in to comment.