diff --git a/CMakeLists.txt b/CMakeLists.txt index 7903f7fbf3a5d3568d934aeba529e070a7903e78..2e4e357fd38d2db3842a9f548ba7ecfc2bf67a74 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 1ff3b0b966bba49ab7f9b3aa68952bcc3f6b1f0e..9d6e582dfe2eafea38458b4d541f13f539d59d3b 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 12475cd83228c798536458d29b6b6d79a607ae06..20903ce853dd0a7e377ed85677efb33758dc6d7a 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 468a829acdfe03a6efec2fb355c995c0a355ba2e..2c1ef7839320a6bb4d2ed643101e0f3bc982ef43 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