mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-27 19:25:11 +08:00
Update init.sh
This commit is contained in:
2
init.sh
2
init.sh
@@ -8,7 +8,7 @@ def cp(src, dest, app_name)
|
||||
.gsub("SampleApp", app_name)
|
||||
.gsub("Examples/#{app_name}/", "")
|
||||
.gsub("../../Libraries/", "node_modules/react-native/Libraries/")
|
||||
.gsub("../../ReactKit/", "node_modules/react-native/ReactKit/")
|
||||
.gsub("../../React/", "node_modules/react-native/React/")
|
||||
File.write(dest, content)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user