mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 12:09:43 +00:00
ios and windows changes
This commit is contained in:
parent
64adc5e62c
commit
411fcbbeb9
2 changed files with 16 additions and 0 deletions
|
@ -14,3 +14,18 @@ cd $FRWK_DIR # go to iOS framework dir
|
||||||
lipo -create $DYLIB_LINK_PATH -output MoneroWallet
|
lipo -create $DYLIB_LINK_PATH -output MoneroWallet
|
||||||
|
|
||||||
echo "Generated ${FRWK_DIR}"
|
echo "Generated ${FRWK_DIR}"
|
||||||
|
# also generate for wownero
|
||||||
|
IOS_DIR="$(pwd)/../../ios"
|
||||||
|
DYLIB_NAME="wownero_libwallet2_api_c.dylib"
|
||||||
|
DYLIB_LINK_PATH="${IOS_DIR}/${DYLIB_NAME}"
|
||||||
|
FRWK_DIR="${IOS_DIR}/WowneroWallet.framework"
|
||||||
|
|
||||||
|
if [ ! -f $DYLIB_LINK_PATH ]; then
|
||||||
|
echo "Dylib is not found by the link: ${DYLIB_LINK_PATH}"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd $FRWK_DIR # go to iOS framework dir
|
||||||
|
lipo -create $DYLIB_LINK_PATH -output WowneroWallet
|
||||||
|
|
||||||
|
echo "Generated ${FRWK_DIR}"
|
|
@ -82,6 +82,7 @@ install(FILES "${FLUTTER_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
|
||||||
COMPONENT Runtime)
|
COMPONENT Runtime)
|
||||||
|
|
||||||
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/../scripts/monero_c/release/monero/x86_64-w64-mingw32_libwallet2_api_c.dll" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" RENAME "monero_libwallet2_api_c.dll"
|
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/../scripts/monero_c/release/monero/x86_64-w64-mingw32_libwallet2_api_c.dll" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" RENAME "monero_libwallet2_api_c.dll"
|
||||||
|
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/../scripts/monero_c/release/wownero/x86_64-w64-mingw32_libwallet2_api_c.dll" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" RENAME "wownero_libwallet2_api_c.dll"
|
||||||
COMPONENT Runtime)
|
COMPONENT Runtime)
|
||||||
|
|
||||||
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/../scripts/monero_c/release/monero/x86_64-w64-mingw32_libgcc_s_seh-1.dll" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" RENAME "libgcc_s_seh-1.dll"
|
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/../scripts/monero_c/release/monero/x86_64-w64-mingw32_libgcc_s_seh-1.dll" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" RENAME "libgcc_s_seh-1.dll"
|
||||||
|
|
Loading…
Reference in a new issue