Cleanup #17
@@ -0,0 +1,3 @@
|
|||||||
|
/.vs/*
|
||||||
|
/build
|
||||||
|
/x64
|
||||||
+1
-1
@@ -18,7 +18,7 @@ endif()
|
|||||||
set(SOFTWARE_DESCRIPTION
|
set(SOFTWARE_DESCRIPTION
|
||||||
"A tool to interact with the Icarus Music streaming API")
|
"A tool to interact with the Icarus Music streaming API")
|
||||||
set(SOFTWARE_VERSION
|
set(SOFTWARE_VERSION
|
||||||
"0.3.0")
|
"0.3.2")
|
||||||
|
|
||||||
|
|
||||||
project(IcarusDownloadManager VERSION ${SOFTWARE_VERSION} DESCRIPTION ${SOFTWARE_DESCRIPTION} LANGUAGES CXX)
|
project(IcarusDownloadManager VERSION ${SOFTWARE_VERSION} DESCRIPTION ${SOFTWARE_DESCRIPTION} LANGUAGES CXX)
|
||||||
|
|||||||
@@ -0,0 +1,99 @@
|
|||||||
|
// Microsoft Visual C++ generated resource script.
|
||||||
|
//
|
||||||
|
#include "resource.h"
|
||||||
|
|
||||||
|
#define APSTUDIO_READONLY_SYMBOLS
|
||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
//
|
||||||
|
// Generated from the TEXTINCLUDE 2 resource.
|
||||||
|
//
|
||||||
|
#include "winres.h"
|
||||||
|
|
||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
#undef APSTUDIO_READONLY_SYMBOLS
|
||||||
|
|
||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
// English (United States) resources
|
||||||
|
|
||||||
|
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
|
||||||
|
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
||||||
|
#pragma code_page(1252)
|
||||||
|
|
||||||
|
#ifdef APSTUDIO_INVOKED
|
||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
//
|
||||||
|
// TEXTINCLUDE
|
||||||
|
//
|
||||||
|
|
||||||
|
1 TEXTINCLUDE
|
||||||
|
BEGIN
|
||||||
|
"resource.h\0"
|
||||||
|
END
|
||||||
|
|
||||||
|
2 TEXTINCLUDE
|
||||||
|
BEGIN
|
||||||
|
"#include ""winres.h""\r\n"
|
||||||
|
"\0"
|
||||||
|
END
|
||||||
|
|
||||||
|
3 TEXTINCLUDE
|
||||||
|
BEGIN
|
||||||
|
"\r\n"
|
||||||
|
"\0"
|
||||||
|
END
|
||||||
|
|
||||||
|
#endif // APSTUDIO_INVOKED
|
||||||
|
|
||||||
|
|
||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
//
|
||||||
|
// Version
|
||||||
|
//
|
||||||
|
|
||||||
|
VS_VERSION_INFO VERSIONINFO
|
||||||
|
FILEVERSION 0,3,2,0
|
||||||
|
PRODUCTVERSION 0,3,2,0
|
||||||
|
FILEFLAGSMASK 0x3fL
|
||||||
|
#ifdef _DEBUG
|
||||||
|
FILEFLAGS 0x1L
|
||||||
|
#else
|
||||||
|
FILEFLAGS 0x0L
|
||||||
|
#endif
|
||||||
|
FILEOS 0x40004L
|
||||||
|
FILETYPE 0x1L
|
||||||
|
FILESUBTYPE 0x0L
|
||||||
|
BEGIN
|
||||||
|
BLOCK "StringFileInfo"
|
||||||
|
BEGIN
|
||||||
|
BLOCK "040904b0"
|
||||||
|
BEGIN
|
||||||
|
VALUE "FileDescription", "Tool to interact with Icarus API"
|
||||||
|
VALUE "FileVersion", "0.3.2.0"
|
||||||
|
VALUE "InternalName", "IcarusDo.exe"
|
||||||
|
VALUE "LegalCopyright", "Copyright (C) 2022"
|
||||||
|
VALUE "OriginalFilename", "IcarusDo.exe"
|
||||||
|
VALUE "ProductName", "IcarusDownloadManager"
|
||||||
|
VALUE "ProductVersion", "0.3.2.0"
|
||||||
|
END
|
||||||
|
END
|
||||||
|
BLOCK "VarFileInfo"
|
||||||
|
BEGIN
|
||||||
|
VALUE "Translation", 0x409, 1200
|
||||||
|
END
|
||||||
|
END
|
||||||
|
|
||||||
|
#endif // English (United States) resources
|
||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef APSTUDIO_INVOKED
|
||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
//
|
||||||
|
// Generated from the TEXTINCLUDE 3 resource.
|
||||||
|
//
|
||||||
|
|
||||||
|
|
||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
#endif // not APSTUDIO_INVOKED
|
||||||
|
|
||||||
@@ -82,6 +82,7 @@
|
|||||||
<WarningLevel>Level3</WarningLevel>
|
<WarningLevel>Level3</WarningLevel>
|
||||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
|
<LanguageStandard>stdcpp20</LanguageStandard>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<TargetMachine>MachineX86</TargetMachine>
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
@@ -95,6 +96,7 @@
|
|||||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||||
<WarningLevel>Level3</WarningLevel>
|
<WarningLevel>Level3</WarningLevel>
|
||||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
|
<LanguageStandard>stdcpp20</LanguageStandard>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<TargetMachine>MachineX86</TargetMachine>
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
@@ -150,6 +152,10 @@
|
|||||||
<ClInclude Include="include\syncers\Upload.h" />
|
<ClInclude Include="include\syncers\Upload.h" />
|
||||||
<ClInclude Include="include\utilities\Checks.h" />
|
<ClInclude Include="include\utilities\Checks.h" />
|
||||||
<ClInclude Include="include\utilities\Conversions.h" />
|
<ClInclude Include="include\utilities\Conversions.h" />
|
||||||
|
<ClInclude Include="resource.h" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ResourceCompile Include="IcarusDownloadManager.rc" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
<ImportGroup Label="ExtensionTargets">
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
|||||||
@@ -1,20 +0,0 @@
|
|||||||
[requires]
|
|
||||||
nlohmann_json/3.10.4
|
|
||||||
openssl/1.1.1l
|
|
||||||
libcurl/7.80.0
|
|
||||||
cpr/1.7.2
|
|
||||||
|
|
||||||
[generators]
|
|
||||||
cmake
|
|
||||||
|
|
||||||
[options]
|
|
||||||
openssl:shared=False
|
|
||||||
libcurl:shared=False
|
|
||||||
cpr:shared=False
|
|
||||||
libcurl:with_ssl=openssl
|
|
||||||
libcurl:with_ftp=False
|
|
||||||
libcurl:with_gopher=False
|
|
||||||
libcurl:with_imap=False
|
|
||||||
libcurl:with_pop3=False
|
|
||||||
libcurl:with_smb=False
|
|
||||||
libcurl:with_smtp=False
|
|
||||||
@@ -44,16 +44,14 @@ namespace Utilities
|
|||||||
static auto itemIterInContainer(const Container &container, const Item &item, Func func)
|
static auto itemIterInContainer(const Container &container, const Item &item, Func func)
|
||||||
{
|
{
|
||||||
auto result = false;
|
auto result = false;
|
||||||
// std::cout<<container<<"\n";
|
|
||||||
auto ii = std::find_if(container.begin(), container.end(), [&](Item i)
|
auto ii = std::find_if(container.begin(), container.end(), [&](Item i)
|
||||||
{
|
{
|
||||||
// std::cout<<"iter "<<i<<" target "<<item<<"\n";
|
|
||||||
return func(i, item);
|
return func(i, item);
|
||||||
});
|
});
|
||||||
|
|
||||||
if (ii == container.end())
|
if (ii == container.end())
|
||||||
{
|
{
|
||||||
// std::cout<<item<<" not found in container\n";
|
|
||||||
ii = container.end();
|
ii = container.end();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+14
@@ -0,0 +1,14 @@
|
|||||||
|
//{{NO_DEPENDENCIES}}
|
||||||
|
// Microsoft Visual C++ generated include file.
|
||||||
|
// Used by IcarusDownloadManager.rc
|
||||||
|
|
||||||
|
// Next default values for new objects
|
||||||
|
//
|
||||||
|
#ifdef APSTUDIO_INVOKED
|
||||||
|
#ifndef APSTUDIO_READONLY_SYMBOLS
|
||||||
|
#define _APS_NEXT_RESOURCE_VALUE 101
|
||||||
|
#define _APS_NEXT_COMMAND_VALUE 40001
|
||||||
|
#define _APS_NEXT_CONTROL_VALUE 1001
|
||||||
|
#define _APS_NEXT_SYMED_VALUE 101
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
+1
-1
@@ -14,7 +14,7 @@ using Managers::CommitManager;
|
|||||||
|
|
||||||
constexpr static auto IcarusDownloadManager_version()
|
constexpr static auto IcarusDownloadManager_version()
|
||||||
{
|
{
|
||||||
return "v0.3.0";
|
return "v0.3.2";
|
||||||
}
|
}
|
||||||
|
|
||||||
void printHelp()
|
void printHelp()
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ void APIParser::parseAPI()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: For now I will hard code
|
// NOTE: For now I will hard code
|
||||||
// the api version since I am only
|
// the api version since I am only
|
||||||
// on version 1
|
// on version 1
|
||||||
api.version = "v1";
|
api.version = "v1";
|
||||||
|
|||||||
Reference in New Issue
Block a user