Skip to content

Commit

Permalink
Problem: demo not updated (fix #63) (#6)
Browse files Browse the repository at this point in the history
don't use sudo

change document

fix crash
  • Loading branch information
leejw51crypto authored Jun 22, 2022
1 parent 4807e5e commit 508ac2a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[submodule "play-unreal-plugin"]
path = play-unreal-plugin
url = [email protected]:crypto-com/play-unreal-plugin.git
url = [email protected]:cronos-labs/play-unreal-plugin.git
branch = main
3 changes: 3 additions & 0 deletions CronosPlayUnrealDemo/copydll.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
install_name_tool -id @rpath/libplay_cpp_sdk.dylib ./Plugins/CronosPlayUnreal/Source/CronosPlayUnreal/Private/cronosplay/lib/Mac/libplay_cpp_sdk.dylib
# check
otool -L ./Plugins/CronosPlayUnreal/Source/CronosPlayUnreal/Private/cronosplay/lib/Mac/libplay_cpp_sdk.dylib
cp ./Plugins/CronosPlayUnreal/Source/CronosPlayUnreal/Private/cronosplay/lib/Mac/libplay_cpp_sdk.dylib ./Binaries/Mac
cp ./Plugins/CronosPlayUnreal/Source/CronosPlayUnreal/Private/cronosplay/lib/Win64/play_cpp_sdk.dll ./Binaries/Win64

Expand Down
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
all:
all: download update

download:
git submodule update --init --recursive
update:
cp -Rf ./play-unreal-plugin/CronosPlaySdk/Plugins/CronosPlayUnreal ./CronosPlayUnrealDemo/Plugins
cd CronosPlayUnrealDemo && ./copydll.sh

0 comments on commit 508ac2a

Please sign in to comment.