Skip to content

Commit

Permalink
Merge pull request #183 from jimberlage/update-uwp-generation
Browse files Browse the repository at this point in the history
Updates UWP code generator to use new windows file layout
  • Loading branch information
drapanjanas authored May 27, 2018
2 parents 5572718 + 8ce124d commit a4fbbfa
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 a4fbbfa

Please sign in to comment.