diff --git a/CMakeLists.txt b/CMakeLists.txt index 237854e..f0d3fe7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -78,6 +78,7 @@ add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/oatpp) configure_file(${CMAKE_CURRENT_SOURCE_DIR}/appsettings.json ${CMAKE_BINARY_DIR}/bin/appsettings.json COPYONLY) configure_file(${CMAKE_CURRENT_SOURCE_DIR}/authcredentials.json ${CMAKE_BINARY_DIR}/bin/authcredentials.json COPYONLY) configure_file(${CMAKE_CURRENT_SOURCE_DIR}/database.json ${CMAKE_BINARY_DIR}/bin/database.json COPYONLY) +configure_file(${CMAKE_CURRENT_SOURCE_DIR}/paths.json ${CMAKE_BINARY_DIR}/bin/paths.json COPYONLY) add_executable(icarus ${SOURCES} ${HEADERS}) target_include_directories(icarus PUBLIC ${JWT_CPP_INCLUDE}) diff --git a/authcredentials.json b/authcredentials.json index 463d848..f900c26 100644 --- a/authcredentials.json +++ b/authcredentials.json @@ -1,6 +1,6 @@ { - "Domain": "[domain].auth0.com", - "ApiIdentifier": "https://[identifier]/api", - "ClientId": "dfdfdfdf", - "ClientSecret": "dfdfdfdf" + "domain": "[domain].auth0.com", + "api_identifier": "https://[identifier]/api", + "client_id": "dfdfdfdf", + "client_secret": "dfdfdfdf" } diff --git a/paths.json b/paths.json new file mode 100644 index 0000000..ec7acac --- /dev/null +++ b/paths.json @@ -0,0 +1,6 @@ +{ + "root_music_path": "/icarus/music/", + "temp_root_path": "/icarus/temp/", + "cover_root_path": "/icarus/cover/", + "archive_root_path": "icarus/archive/" +}