Move configuration and logging to local application data
This commit is contained in:
@@ -43,6 +43,7 @@ public:
|
||||
FilePath& SkipRoot();
|
||||
FilePath& StripToFileName();
|
||||
bool CreateEmptyFile();
|
||||
FilePath& Resolve();
|
||||
|
||||
public:
|
||||
FilePath& operator=(const FilePath& filePath);
|
||||
|
@@ -94,8 +94,8 @@ const SiaCurrency SIA_DEFAULT_MINIMUM_FUNDS = 4000;
|
||||
const std::uint32_t SIA_DEFAULT_CONTRACT_LENGTH = SIA_BLOCKS_PER_MONTH * 3;
|
||||
const std::uint32_t SIA_DEFAULT_RENEW_WINDOW = SIA_DEFAULT_CONTRACT_LENGTH / 3;
|
||||
|
||||
#define DEFAULT_CONFIG_FILE_PATH L"./config/siadriveconfig.json"
|
||||
#define DEFAULT_RENTER_DB_FILE_PATH L"./config/renter_upload.db3"
|
||||
#define DEFAULT_CONFIG_FILE_PATH L"~/siadrive/siadriveconfig.json"
|
||||
#define DEFAULT_RENTER_DB_FILE_PATH L"~/siadrive/renter_upload.db3"
|
||||
|
||||
#define Property(type, name, get_access, set_access) \
|
||||
private:\
|
||||
|
Reference in New Issue
Block a user