Monero update (#1325)

* New price API * Fix test app package id * Fix workflow * change environment variable to use pr number [skip ci] * Fix un-needed padding * Fix raw value for usdtSol * Remove duplicate fetching for balance and transactions at start [skip ci] * Fix address validation of spl tokens * Add Service Status * Update lib/src/widgets/service_status_tile.dart Co-authored-by: Konstantin Ullrich <konstantinullrich12@gmail.com> * Update lib/src/widgets/services_updates_widget.dart Co-authored-by: Konstantin Ullrich <konstantinullrich12@gmail.com> * Update monero version * update sodium script * Change automatic priority fee rate * New versions [skip ci] * Update monero version * Temp remove split per abi * Specifically build monero.com * Revert monero dependencies trial fix * Update Monero Fix Monero Automatic Priority * Fix android script * Fix build_monero.sh android Add svg notification icon * trial 1 * trial 2 * trial 3 * trial 4 * Trial 5 * Trial * revert --------- Co-authored-by: Konstantin Ullrich <konstantinullrich12@gmail.com>

Omar Hatem committed Mar 14, 2024 at 20:26 UTC 50b5ebc622fd5742f6e089dd6e25631e76fda237
19 files changed +156 -63
assets/images/notification_icon.png
Binary files a/assets/images/notification_icon.png and /dev/null differ
assets/images/notification_icon.svg new
+69
@@ -0,0 +1,69 @@
1 +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 +<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3 +
4 +<svg
5 + xmlns:dc="http://purl.org/dc/elements/1.1/"
6 + xmlns:cc="http://creativecommons.org/ns#"
7 + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
8 + xmlns:svg="http://www.w3.org/2000/svg"
9 + xmlns="http://www.w3.org/2000/svg"
10 + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
11 + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
12 + version="1.1"
13 + id="Capa_1"
14 + x="0px"
15 + y="0px"
16 + width="510px"
17 + height="510px"
18 + viewBox="0 0 510 510"
19 + style="enable-background:new 0 0 510 510;"
20 + xml:space="preserve"
21 + inkscape:version="0.92.3 (2405546, 2018-03-11)"
22 + sodipodi:docname="notification_logo_tilt_white.svg"><metadata
23 + id="metadata42"><rdf:RDF><cc:Work
24 + rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
25 + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
26 + id="defs40" /><sodipodi:namedview
27 + pagecolor="#ffffff"
28 + bordercolor="#666666"
29 + borderopacity="1"
30 + objecttolerance="10"
31 + gridtolerance="10"
32 + guidetolerance="10"
33 + inkscape:pageopacity="0"
34 + inkscape:pageshadow="2"
35 + inkscape:window-width="1920"
36 + inkscape:window-height="1090"
37 + id="namedview38"
38 + showgrid="false"
39 + inkscape:zoom="0.4627451"
40 + inkscape:cx="-849.27966"
41 + inkscape:cy="255"
42 + inkscape:window-x="-12"
43 + inkscape:window-y="58"
44 + inkscape:window-maximized="1"
45 + inkscape:current-layer="notifications"
46 + inkscape:object-paths="true" /><g
47 + id="g3"
48 + transform="matrix(0.87658593,0,0,0.87658593,31.470588,31.470588)"><g
49 + id="notifications"
50 + transform="rotate(-20,255,255)"><path
51 + d="m 233.56017,502.19654 c 28.05,0 51,-22.95 51,-51 h -102 c 0,28.05 22.95,51 51,51 z m 165.75,-153 v -140.25 c 0,-79.05 -53.55,-142.8 -127.5,-160.65 v -17.85 c 0,-20.4 -17.85,-38.2499996 -38.25,-38.2499996 -20.4,0 -38.25,17.8499996 -38.25,38.2499996 v 17.85 c -73.95,17.85 -127.499999,81.6 -127.499999,160.65 v 140.25 l -51,51 v 25.5 H 450.31017 v -25.5 z"
52 + id="path6"
53 + inkscape:connector-curvature="0"
54 + style="opacity:1;fill:#ffffff;fill-opacity:0;stroke:#000000;stroke-width:19.39342117;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /></g></g><g
55 + id="g8" /><g
56 + id="g10" /><g
57 + id="g12" /><g
58 + id="g14" /><g
59 + id="g16" /><g
60 + id="g18" /><g
61 + id="g20" /><g
62 + id="g22" /><g
63 + id="g24" /><g
64 + id="g26" /><g
65 + id="g28" /><g
66 + id="g30" /><g
67 + id="g32" /><g
68 + id="g34" /><g
69 + id="g36" /></svg>
\ No newline at end of file
assets/text/Monerocom_Release_Notes.txt
+1 -1
@@ -1,2 +1,2 @@
1 -New themes
1 +In-App live status page for the app services
2 Bug fixes and enhancements
\ No newline at end of file
assets/text/Release_Notes.txt
+1 -5
@@ -1,6 +1,2 @@
1 -Add Solana wallet
2 -Support ALL Bitcoin address types (Legacy, Segwit (both variants), Taproot)
3 -Enhance Sending/Receiving flow for Bitcoin
4 -Improve fee calculations in Bitcoin
5 -New themes
1 +In-App live status page for the app services
2 Bug fixes and enhancements
\ No newline at end of file
cw_core/lib/monero_transaction_priority.dart
+5 -9
@@ -1,7 +1,4 @@
1 import 'package:cw_core/transaction_priority.dart';
2 -import 'package:cw_core/wallet_type.dart';
3 -//import 'package:cake_wallet/generated/i18n.dart';
4 -import 'package:cw_core/enumerable_item.dart';
2
3 class MoneroTransactionPriority extends TransactionPriority {
4 const MoneroTransactionPriority({required String title, required int raw})
@@ -12,21 +9,20 @@ class MoneroTransactionPriority extends TransactionPriority {
9 MoneroTransactionPriority.automatic,
10 MoneroTransactionPriority.medium,
11 MoneroTransactionPriority.fast,
15 - MoneroTransactionPriority.fastest
12 + MoneroTransactionPriority.fastest,
13 ];
17 - static const slow = MoneroTransactionPriority(title: 'Slow', raw: 0);
18 - static const automatic = MoneroTransactionPriority(title: 'Automatic', raw: 1);
14 + static const automatic = MoneroTransactionPriority(title: 'Automatic', raw: 0);
15 + static const slow = MoneroTransactionPriority(title: 'Slow', raw: 1);
16 static const medium = MoneroTransactionPriority(title: 'Medium', raw: 2);
17 static const fast = MoneroTransactionPriority(title: 'Fast', raw: 3);
18 static const fastest = MoneroTransactionPriority(title: 'Fastest', raw: 4);
22 - static const standard = slow;
19
20 static MoneroTransactionPriority deserialize({required int raw}) {
21 switch (raw) {
22 case 0:
27 - return slow;
28 - case 1:
23 return automatic;
24 + case 1:
25 + return slow;
26 case 2:
27 return medium;
28 case 3:
cw_monero/lib/monero_wallet.dart
+1 -3
@@ -282,9 +282,7 @@ abstract class MoneroWalletBase
282 pendingTransactionDescription = await transaction_history.createTransaction(
283 address: address!,
284 amount: amount,
285 - priorityRaw: _credentials.priority == MoneroTransactionPriority.automatic
286 - ? MoneroTransactionPriority.medium.serialize()
287 - : _credentials.priority.serialize(),
285 + priorityRaw: _credentials.priority.serialize(),
286 accountIndex: walletAddresses.account!.id,
287 preferredInputs: inputs);
288 }
lib/entities/default_settings_migration.dart
+15
@@ -201,6 +201,9 @@ Future<void> defaultSettingsMigration(
201 await changeSolanaCurrentNodeToDefault(
202 sharedPreferences: sharedPreferences, nodes: nodes);
203 break;
204 + case 28:
205 + await _updateMoneroPriority(sharedPreferences);
206 + break;
207 default:
208 break;
209 }
@@ -215,6 +218,18 @@ Future<void> defaultSettingsMigration(
218 await sharedPreferences.setInt(PreferencesKey.currentDefaultSettingsMigrationVersion, version);
219 }
220
221 +Future<void> _updateMoneroPriority(SharedPreferences sharedPreferences) async {
222 + final currentPriority =
223 + await sharedPreferences.getInt(PreferencesKey.moneroTransactionPriority) ??
224 + monero!.getDefaultTransactionPriority().serialize();
225 +
226 + // was set to automatic but automatic should be 0
227 + if (currentPriority == 1) {
228 + sharedPreferences.setInt(PreferencesKey.moneroTransactionPriority,
229 + monero!.getDefaultTransactionPriority().serialize()); // 0
230 + }
231 +}
232 +
233 Future<void> _validateWalletInfoBoxData(Box<WalletInfo> walletInfoSource) async {
234 try {
235 final root = await getApplicationDocumentsDirectory();
lib/main.dart
+1 -1
@@ -163,7 +163,7 @@ Future<void> initializeAppConfigs() async {
163 transactionDescriptions: transactionDescriptions,
164 secureStorage: secureStorage,
165 anonpayInvoiceInfo: anonpayInvoiceInfo,
166 - initialMigrationVersion: 27);
166 + initialMigrationVersion: 28);
167 }
168
169 Future<void> initialSetup(
lib/src/screens/dashboard/desktop_widgets/desktop_sidebar/side_menu_item.dart
+19 -13
@@ -7,13 +7,15 @@ class SideMenuItem extends StatelessWidget {
7 required this.onTap,
8 this.imagePath,
9 this.icon,
10 + this.widget,
11 this.isSelected = false,
11 - }) : assert((icon != null && imagePath == null) || (icon == null && imagePath != null));
12 + }) : assert(widget != null || icon != null || imagePath != null);
13
14 final void Function() onTap;
15 final String? imagePath;
16 final IconData? icon;
17 final bool isSelected;
18 + final Widget? widget;
19
20 Color _setColor(BuildContext context) {
21 if (isSelected) {
@@ -28,18 +30,7 @@ class SideMenuItem extends StatelessWidget {
30 return InkWell(
31 child: Padding(
32 padding: EdgeInsets.all(20),
31 - child: icon != null
32 - ? Icon(
33 - icon,
34 - color: _setColor(context),
35 - )
36 - : Image.asset(
37 - imagePath ?? '',
38 - fit: BoxFit.cover,
39 - height: 30,
40 - width: 30,
41 - color: _setColor(context),
42 - ),
33 + child: widget ?? _getIcon(context),
34 ),
35 onTap: () => onTap.call(),
36 highlightColor: Colors.transparent,
@@ -48,4 +39,19 @@ class SideMenuItem extends StatelessWidget {
39 splashColor: Colors.transparent,
40 );
41 }
42 +
43 + Widget _getIcon(BuildContext context) {
44 + return icon != null
45 + ? Icon(
46 + icon,
47 + color: _setColor(context),
48 + )
49 + : Image.asset(
50 + imagePath ?? '',
51 + fit: BoxFit.cover,
52 + height: 30,
53 + width: 30,
54 + color: _setColor(context),
55 + );
56 + }
57 }
lib/src/screens/dashboard/desktop_widgets/desktop_sidebar_wrapper.dart
+10 -3
@@ -9,6 +9,7 @@ import 'package:cake_wallet/src/screens/dashboard/desktop_widgets/desktop_sideba
9 import 'package:cake_wallet/src/screens/dashboard/desktop_widgets/desktop_wallet_selection_dropdown.dart';
10 import 'package:cake_wallet/src/screens/dashboard/widgets/sync_indicator.dart';
11 import 'package:cake_wallet/src/screens/wallet_connect/widgets/modals/bottom_sheet_listener.dart';
12 +import 'package:cake_wallet/src/widgets/services_updates_widget.dart';
13 import 'package:cake_wallet/view_model/dashboard/dashboard_view_model.dart';
14 import 'package:cake_wallet/view_model/dashboard/desktop_sidebar_view_model.dart';
15 import 'package:flutter/cupertino.dart';
@@ -105,12 +106,18 @@ class DesktopSidebarWrapper extends BasePage {
106 ? selectedIconPath
107 : unselectedIconPath,
108 ),
109 + SideMenuItem(
110 + widget: ServicesUpdatesWidget(dashboardViewModel.getServicesStatus()),
111 + isSelected: desktopSidebarViewModel.currentPage == SidebarItem.status,
112 + onTap: () {},
113 + ),
114 ],
115 bottomItems: [
116 SideMenuItem(
111 - imagePath: 'assets/images/support_icon.png',
112 - isSelected: desktopSidebarViewModel.currentPage == SidebarItem.support,
113 - onTap: () => desktopSidebarViewModel.onPageChange(SidebarItem.support)),
117 + imagePath: 'assets/images/support_icon.png',
118 + isSelected: desktopSidebarViewModel.currentPage == SidebarItem.support,
119 + onTap: () => desktopSidebarViewModel.onPageChange(SidebarItem.support),
120 + ),
121 SideMenuItem(
122 imagePath: 'assets/images/settings_outline.png',
123 isSelected: desktopSidebarViewModel.currentPage == SidebarItem.settings,
lib/src/widgets/services_updates_widget.dart
+5 -3
@@ -6,6 +6,7 @@ import 'package:cake_wallet/src/widgets/service_status_tile.dart';
6 import 'package:cake_wallet/themes/extensions/dashboard_page_theme.dart';
7 import 'package:cake_wallet/themes/extensions/wallet_list_theme.dart';
8 import 'package:flutter/material.dart';
9 +import 'package:flutter_svg/flutter_svg.dart';
10 import 'package:shared_preferences/shared_preferences.dart';
11 import 'package:url_launcher/url_launcher.dart';
12
@@ -96,15 +97,16 @@ class ServicesUpdatesWidget extends StatelessWidget {
97 : null,
98 child: Stack(
99 children: [
99 - Image.asset(
100 - "assets/images/notification_icon.png",
100 + SvgPicture.asset(
101 + "assets/images/notification_icon.svg",
102 color: Theme.of(context).extension<DashboardPageTheme>()!.pageTitleTextColor,
103 + width: 30,
104 ),
105 if (state.hasData && state.data!.hasUpdates)
106 Container(
107 height: 7,
108 width: 7,
107 - margin: EdgeInsetsDirectional.only(start: 8),
109 + margin: EdgeInsetsDirectional.only(start: 15),
110 decoration: BoxDecoration(
111 color: Colors.red,
112 shape: BoxShape.circle,
lib/view_model/dashboard/dashboard_view_model.dart
+9 -7
@@ -344,15 +344,13 @@ abstract class DashboardViewModelBase with Store {
344 bool hasExchangeAction;
345
346 @computed
347 - bool get isEnabledBuyAction =>
348 - !settingsStore.disableBuy && availableBuyProviders.isNotEmpty;
347 + bool get isEnabledBuyAction => !settingsStore.disableBuy && availableBuyProviders.isNotEmpty;
348
349 @observable
350 bool hasBuyAction;
351
352 @computed
354 - bool get isEnabledSellAction =>
355 - !settingsStore.disableSell && availableSellProviders.isNotEmpty;
353 + bool get isEnabledSellAction => !settingsStore.disableSell && availableSellProviders.isNotEmpty;
354
355 @observable
356 bool hasSellAction;
@@ -477,7 +475,8 @@ abstract class DashboardViewModelBase with Store {
475
476 Future<List<String>> checkAffectedWallets() async {
477 // await load file
480 - final vulnerableSeedsString = await rootBundle.loadString('assets/text/cakewallet_weak_bitcoin_seeds_hashed_sorted_version1.txt');
478 + final vulnerableSeedsString = await rootBundle
479 + .loadString('assets/text/cakewallet_weak_bitcoin_seeds_hashed_sorted_version1.txt');
480 final vulnerableSeeds = vulnerableSeedsString.split("\n");
481
482 final walletInfoSource = await CakeHive.openBox<WalletInfo>(WalletInfo.boxName);
@@ -513,13 +512,16 @@ abstract class DashboardViewModelBase with Store {
512
513 final oldSha = sharedPreferences.getString(PreferencesKey.serviceStatusShaKey);
514
516 -
515 final hash = await Cryptography.instance.sha256().hash(utf8.encode(res.body));
516 final currentSha = bytesToHex(hash.bytes);
517
518 final hasUpdates = oldSha != currentSha;
519
522 - return ServicesResponse.fromJson(json.decode(res.body) as Map<String, dynamic>, hasUpdates, currentSha);
520 + return ServicesResponse.fromJson(
521 + json.decode(res.body) as Map<String, dynamic>,
522 + hasUpdates,
523 + currentSha,
524 + );
525 } catch (_) {
526 return ServicesResponse([], false, '');
527 }
lib/view_model/dashboard/desktop_sidebar_view_model.dart
+1
@@ -5,6 +5,7 @@ part 'desktop_sidebar_view_model.g.dart';
5 enum SidebarItem {
6 dashboard,
7 transactions,
8 + status,
9 support,
10 settings,
11 }
scripts/android/app_env.sh
+4 -4
@@ -15,15 +15,15 @@ TYPES=($MONERO_COM $CAKEWALLET $HAVEN)
15 APP_ANDROID_TYPE=$1
16
17 MONERO_COM_NAME="Monero.com"
18 -MONERO_COM_VERSION="1.11.0"
19 -MONERO_COM_BUILD_NUMBER=77
18 +MONERO_COM_VERSION="1.11.1"
19 +MONERO_COM_BUILD_NUMBER=78
20 MONERO_COM_BUNDLE_ID="com.monero.app"
21 MONERO_COM_PACKAGE="com.monero.app"
22 MONERO_COM_SCHEME="monero.com"
23
24 CAKEWALLET_NAME="Cake Wallet"
25 -CAKEWALLET_VERSION="4.14.0"
26 -CAKEWALLET_BUILD_NUMBER=196
25 +CAKEWALLET_VERSION="4.14.1"
26 +CAKEWALLET_BUILD_NUMBER=197
27 CAKEWALLET_BUNDLE_ID="com.cakewallet.cake_wallet"
28 CAKEWALLET_PACKAGE="com.cakewallet.cake_wallet"
29 CAKEWALLET_SCHEME="cakewallet"
scripts/android/build_monero.sh
+3 -4
@@ -1,13 +1,12 @@
1 #!/bin/sh
2
3 . ./config.sh
4 -MONERO_BRANCH=release-v0.18.2.2-android_tx_priority_fix
4 +MONERO_BRANCH=release-v0.18.3.2-android
5 MONERO_SRC_DIR=${WORKDIR}/monero
6
7 git clone https://github.com/cake-tech/monero.git ${MONERO_SRC_DIR} --branch ${MONERO_BRANCH}
8 cd $MONERO_SRC_DIR
9 -git submodule init
10 -git submodule update
9 +git submodule update --init --force
10
11 for arch in "aarch" "aarch64" "i686" "x86_64"
12 do
@@ -59,7 +58,7 @@ cd $MONERO_SRC_DIR
58 rm -rf ./build/release
59 mkdir -p ./build/release
60 cd ./build/release
62 -CC=${CLANG} CXX=${CXXLANG} cmake -D USE_DEVICE_TREZOR=OFF -D BUILD_GUI_DEPS=1 -D BUILD_TESTS=OFF -D ARCH=${ARCH} -D STATIC=ON -D BUILD_64=${BUILD_64} -D CMAKE_BUILD_TYPE=release -D ANDROID=true -D INSTALL_VENDORED_LIBUNBOUND=ON -D BUILD_TAG=${TAG} -D CMAKE_SYSTEM_NAME="Android" -D CMAKE_ANDROID_STANDALONE_TOOLCHAIN="${ANDROID_STANDALONE_TOOLCHAIN_PATH}" -D CMAKE_ANDROID_ARCH_ABI=${ARCH_ABI} $FLAGS ../..
61 +CC=${CLANG} CXX=${CXXLANG} cmake -D USE_DEVICE_TREZOR=OFF -D BUILD_GUI_DEPS=1 -D BUILD_TESTS=OFF -D ARCH=${ARCH} -D STATIC=ON -D BUILD_64=${BUILD_64} -D CMAKE_BUILD_TYPE=release -D ANDROID=true -D INSTALL_VENDORED_LIBUNBOUND=ON -D BUILD_TAG=${TAG} -D CMAKE_SYSTEM_NAME="Android" -D CMAKE_ANDROID_STANDALONE_TOOLCHAIN="${ANDROID_STANDALONE_TOOLCHAIN_PATH}" -D CMAKE_ANDROID_ARCH_ABI=${ARCH_ABI} -D MANUAL_SUBMODULES=1 $FLAGS ../..
62
63 make wallet_api -j$THREADS
64 find . -path ./lib -prune -o -name '*.a' -exec cp '{}' lib \;
scripts/ios/app_env.sh
+4 -4
@@ -13,13 +13,13 @@ TYPES=($MONERO_COM $CAKEWALLET $HAVEN)
13 APP_IOS_TYPE=$1
14
15 MONERO_COM_NAME="Monero.com"
16 -MONERO_COM_VERSION="1.11.0"
17 -MONERO_COM_BUILD_NUMBER=75
16 +MONERO_COM_VERSION="1.11.1"
17 +MONERO_COM_BUILD_NUMBER=76
18 MONERO_COM_BUNDLE_ID="com.cakewallet.monero"
19
20 CAKEWALLET_NAME="Cake Wallet"
21 -CAKEWALLET_VERSION="4.14.0"
22 -CAKEWALLET_BUILD_NUMBER=215
21 +CAKEWALLET_VERSION="4.14.1"
22 +CAKEWALLET_BUILD_NUMBER=216
23 CAKEWALLET_BUNDLE_ID="com.fotolockr.cakewallet"
24
25 HAVEN_NAME="Haven"
scripts/ios/build_monero.sh
+2 -1
@@ -4,7 +4,7 @@
4
5 MONERO_URL="https://github.com/cake-tech/monero.git"
6 MONERO_DIR_PATH="${EXTERNAL_IOS_SOURCE_DIR}/monero"
7 -MONERO_VERSION=release-v0.18.2.2_tx_priority_fix
7 +MONERO_VERSION=release-v0.18.3.2
8 BUILD_TYPE=release
9 PREFIX=${EXTERNAL_IOS_DIR}
10 DEST_LIB_DIR=${EXTERNAL_IOS_LIB_DIR}/monero
@@ -52,6 +52,7 @@ cmake -D IOS=ON \
52 -DUNBOUND_INCLUDE_DIR=${EXTERNAL_IOS_INCLUDE_DIR} \
53 -DCMAKE_INSTALL_PREFIX=${INSTALL_PREFIX} \
54 -DUSE_DEVICE_TREZOR=OFF \
55 + -DMANUAL_SUBMODULES=1 \
56 ../..
57 make wallet_api -j4
58 find . -path ./lib -prune -o -name '*.a' -exec cp '{}' lib \;
scripts/macos/app_env.sh
+4 -4
@@ -16,13 +16,13 @@ if [ -n "$1" ]; then
16 fi
17
18 MONERO_COM_NAME="Monero.com"
19 -MONERO_COM_VERSION="1.1.0"
20 -MONERO_COM_BUILD_NUMBER=7
19 +MONERO_COM_VERSION="1.1.1"
20 +MONERO_COM_BUILD_NUMBER=9
21 MONERO_COM_BUNDLE_ID="com.cakewallet.monero"
22
23 CAKEWALLET_NAME="Cake Wallet"
24 -CAKEWALLET_VERSION="1.7.0"
25 -CAKEWALLET_BUILD_NUMBER=55
24 +CAKEWALLET_VERSION="1.7.1"
25 +CAKEWALLET_BUILD_NUMBER=56
26 CAKEWALLET_BUNDLE_ID="com.fotolockr.cakewallet"
27
28 if ! [[ " ${TYPES[*]} " =~ " ${APP_MACOS_TYPE} " ]]; then
scripts/macos/build_monero.sh
+2 -1
@@ -4,7 +4,7 @@
4
5 MONERO_URL="https://github.com/cake-tech/monero.git"
6 MONERO_DIR_PATH="${EXTERNAL_MACOS_SOURCE_DIR}/monero"
7 -MONERO_VERSION=release-v0.18.2.2_tx_priority_fix
7 +MONERO_VERSION=release-v0.18.3.2
8 BUILD_TYPE=release
9 PREFIX=${EXTERNAL_MACOS_DIR}
10 DEST_LIB_DIR=${EXTERNAL_MACOS_LIB_DIR}/monero
@@ -46,6 +46,7 @@ cmake -DARCH=${ARCH} \
46 -DUNBOUND_INCLUDE_DIR=${EXTERNAL_MACOS_INCLUDE_DIR} \
47 -DCMAKE_INSTALL_PREFIX=${INSTALL_PREFIX} \
48 -DUSE_DEVICE_TREZOR=OFF \
49 + -DMANUAL_SUBMODULES=1 \
50 ../..
51 make wallet_api -j4
52 find . -path ./lib -prune -o -name '*.a' -exec cp '{}' lib \;