Add macOS support #34
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				BlockStorage/repertory/pipeline/head There was a failure building this commit
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	BlockStorage/repertory/pipeline/head There was a failure building this commit
				
			This commit is contained in:
		| @@ -29,7 +29,7 @@ | ||||
| namespace repertory { | ||||
| class app_config; | ||||
| class i_file_manager; | ||||
| class i_http_comm; | ||||
| struct i_http_comm; | ||||
|  | ||||
| class base_provider : public i_provider { | ||||
| private: | ||||
|   | ||||
| @@ -28,7 +28,7 @@ | ||||
| namespace repertory { | ||||
| class app_config; | ||||
| class i_file_manager; | ||||
| class i_http_comm; | ||||
| struct i_http_comm; | ||||
| struct head_object_result; | ||||
|  | ||||
| class s3_provider final : public base_provider { | ||||
|   | ||||
| @@ -28,7 +28,7 @@ | ||||
| namespace repertory { | ||||
| class app_config; | ||||
| class i_file_manager; | ||||
| class i_http_comm; | ||||
| struct i_http_comm; | ||||
|  | ||||
| class sia_provider : public base_provider { | ||||
| public: | ||||
|   | ||||
| @@ -132,7 +132,9 @@ handlers::handlers(mgmt_app_config *config, httplib::Server *server) | ||||
|                        config_->get_api_port()) | ||||
|                .c_str()); | ||||
| #else // error | ||||
|     build fails here | ||||
|     system( | ||||
|         fmt::format(R"(open "http://127.0.0.1:{}/ui")", config_->get_api_port()) | ||||
|             .c_str()); | ||||
| #endif | ||||
|   } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user