mirror of
https://github.com/nestriness/cdc-file-transfer.git
synced 2026-01-30 14:35:37 +02:00
Add new flags to asset stream manager (#10)
- Add --config-file option defining Json configuration file for asset stream manager - Add log_dir flag for log folder - Remove unused functions from SdkUtils - Fix build issue in cdc_fuse_fs
This commit is contained in:
@@ -35,21 +35,6 @@ SdkUtil::SdkUtil() {
|
||||
|
||||
SdkUtil::~SdkUtil() = default;
|
||||
|
||||
std::string SdkUtil::GetUserConfigPath() const {
|
||||
assert(init_status_.ok());
|
||||
return path::Join(roaming_appdata_path_, "GGP");
|
||||
}
|
||||
|
||||
std::string SdkUtil::GetServicesConfigPath() const {
|
||||
return path::Join(GetUserConfigPath(), "services");
|
||||
}
|
||||
|
||||
std::string SdkUtil::GetLogPath(const char* log_base_name) const {
|
||||
DefaultSystemClock clock;
|
||||
std::string timestamp_ext = clock.FormatNow(".%Y%m%d-%H%M%S.log", false);
|
||||
return path::Join(GetUserConfigPath(), "logs", log_base_name + timestamp_ext);
|
||||
}
|
||||
|
||||
std::string SdkUtil::GetDevBinPath() const {
|
||||
return path::Join(ggp_sdk_path_env_, "dev", "bin");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user