Skip to content

Commit

Permalink
Use external CoreData.
Browse files Browse the repository at this point in the history
eugeneko committed Dec 2, 2023
1 parent b70facf commit 9bd0e73
Showing 4 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -70,7 +70,7 @@ jobs:
repository: rbfx/rbfx
tag: latest
fileName: ${{ env.ci_native_sdk_name }}

- name: Unzip native SDK
run: |
cd ${{ github.workspace }}
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -55,8 +55,8 @@ endif()

# Package resources from Project directory.
if (WEB OR MOBILE)
create_pak("${CMAKE_SOURCE_DIR}/Project/Data" "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/Data.pak")
create_pak("${CMAKE_SOURCE_DIR}/Project/CoreData" "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/CoreData.pak")
create_pak("${CMAKE_SOURCE_DIR}/Project/Data" "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/Data.pak")
create_pak("${CMAKE_SOURCE_DIR}/../rbfx/bin/CoreData" "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/CoreData.pak")
endif ()

# Link resources to Player for Web.
6 changes: 2 additions & 4 deletions Project/Data/Scenes/Scene.xml
Original file line number Diff line number Diff line change
@@ -3,10 +3,8 @@
<attribute name="Name" value="" />
<attribute name="Time Scale" value="1.000000" />
<attribute name="Elapsed Time" value="0.000000" />
<attribute name="Next Replicated Node ID" value="20" />
<attribute name="Next Replicated Component ID" value="81" />
<attribute name="Next Local Node ID" value="16777216" />
<attribute name="Next Local Component ID" value="16777217" />
<attribute name="Next Node ID" value="20" />
<attribute name="Next Component ID" value="16777217" />
<attribute name="Variables" />
<attribute name="Variable Names" value="" />
<attribute name="Lightmaps" value="Texture2D" />
3 changes: 3 additions & 0 deletions ResourceRoot.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Data = Project/Data
Cache = Project/Cache
CoreData = ../rbfx/bin/CoreData

0 comments on commit 9bd0e73

Please sign in to comment.