From 35ec01178979eefbd7d708a4dbcc0c6b174b34a9 Mon Sep 17 00:00:00 2001 From: Dmitriy Gerasimov <naeper@demlabs.net> Date: Wed, 14 Apr 2021 22:12:57 +0700 Subject: [PATCH] [*] Darwin: files moved to Users directory --- CMakeLists.txt | 6 +++--- dist.darwin/etc/network/dapcash-testnet/bronze.cfg | 2 +- dist.darwin/etc/network/dapcash-testnet/chain-0.cfg | 4 ++-- dist.darwin/share/configs/dapcash-node.cfg.tpl | 12 ++++++------ 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7903f7f..2e4e357 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -37,9 +37,9 @@ add_subdirectory(cellframe-sdk) if(UNIX) if(DARWIN) - SET(CMAKE_INSTALL_PREFIX "/Applications/DapCash.app") - SET(CPACK_INSTALL_PREFIX "/Applications/DapCash.app") - SET(DESTDIR "/Applications/DapCash.app") + SET(CMAKE_INSTALL_PREFIX "~/Applications/DapCash.app") + SET(CPACK_INSTALL_PREFIX "~/Applications/DapCash.app") + SET(DESTDIR "~/Applications/DapCash.app") set(BUNDLE_NAME "DapCash.app") set(BUNDLE_PATH "${CMAKE_INSTALL_PREFIX}") diff --git a/dist.darwin/etc/network/dapcash-testnet/bronze.cfg b/dist.darwin/etc/network/dapcash-testnet/bronze.cfg index 1ff3b0b..9d6e582 100644 --- a/dist.darwin/etc/network/dapcash-testnet/bronze.cfg +++ b/dist.darwin/etc/network/dapcash-testnet/bronze.cfg @@ -26,5 +26,5 @@ tokens_hold_value=[1000000000,100000000,10000000] confirmations_minimum=1 [files] -storage_dir=/Applications/DapCash.app/Contents/Resources/var/lib/network/dapcash-testnet/bronze +storage_dir=~/Applications/DapCash.app/Contents/Resources/var/lib/network/dapcash-testnet/bronze diff --git a/dist.darwin/etc/network/dapcash-testnet/chain-0.cfg b/dist.darwin/etc/network/dapcash-testnet/chain-0.cfg index 12475cd..20903ce 100644 --- a/dist.darwin/etc/network/dapcash-testnet/chain-0.cfg +++ b/dist.darwin/etc/network/dapcash-testnet/chain-0.cfg @@ -9,7 +9,7 @@ mempool_auto_types=[emission] consensus=dag_poa [files] -storage_dir=/Applications/DapCash.app/Contents/Resources/var/lib/network/dapcash-testnet/zerochain/ +storage_dir=~/Applications/DapCash.app/Contents/Resources/var/lib/network/dapcash-testnet/zerochain/ [dag] is_single_line=true @@ -26,4 +26,4 @@ static_genesis_event=0x1984CF8CF92F626E11D39369183F97A08AA13233E8E1FADB105F45573 auth_certs_prefix=dapcash.testnet.master.cell auth_certs_number=3 auth_certs_number_verify=1 #4 -auth_certs_dir=/Applications/DapCash.app/Contents/Resources/share/ca +auth_certs_dir=~/Applications/DapCash.app/Contents/Resources/share/ca diff --git a/dist.darwin/share/configs/dapcash-node.cfg.tpl b/dist.darwin/share/configs/dapcash-node.cfg.tpl index 468a829..2c1ef78 100644 --- a/dist.darwin/share/configs/dapcash-node.cfg.tpl +++ b/dist.darwin/share/configs/dapcash-node.cfg.tpl @@ -101,7 +101,7 @@ pricelist=[dapcash-testnet:100:DAPT:3600:SEC:mywallet0,dapcash-testnet:100:DAPB: [conserver] enabled=true #listen_port_tcp=12345 -listen_unix_socket_path=/Applications/DapCash.app/Contents/Resources/var/run/node_cli +listen_unix_socket_path=~/Applications/DapCash.app/Contents/Resources/var/run/node_cli # Default permissions 770 #listen_unix_socket_permissions=770 @@ -109,11 +109,11 @@ listen_unix_socket_path=/Applications/DapCash.app/Contents/Resources/var/run/nod [resources] # 0 means auto detect threads_cnt=0 -pid_path=/Applications/DapCash.app/Contents/Resources/var/run/dapcash-node.pid -log_file=/Applications/DapCash.app/Contents/Resources/var/log/dapcash-node.log -wallets_path=/Applications/DapCash.app/Contents/Resources/var/lib/wallet +pid_path=~/Applications/DapCash.app/Contents/Resources/var/run/dapcash-node.pid +log_file=~/Applications/DapCash.app/Contents/Resources/var/log/dapcash-node.log +wallets_path=~/Applications/DapCash.app/Contents/Resources/var/lib/wallet geoip_db_path=share/geoip/GeoLite2-City.mmdb -ca_folders=[/Applications/DapCash.app/Contents/Resources/var/lib/ca,/Applications/DapCash.app/Contents/Resources/share/ca] -dap_global_db_path=/Applications/DapCash.app/Contents/Resources/var/lib/global_db +ca_folders=[~/Applications/DapCash.app/Contents/Resources/var/lib/ca,~/Applications/DapCash.app/Contents/Resources/share/ca] +dap_global_db_path=~/Applications/DapCash.app/Contents/Resources/var/lib/global_db dap_global_db_driver=sqlite3 -- GitLab