From 10bf0fb0e137cca62db510c66912002ff46ab524 Mon Sep 17 00:00:00 2001 From: Kun Deng Date: Sun, 28 Aug 2022 10:49:28 -0400 Subject: [PATCH] Clean up and version change --- .gitignore | 3 ++ IcarusDownloadManager.rc | 99 ++++++++++++++++++++++++++++++++++++++ include/Utilities/Checks.h | 4 +- resource.h | 14 ++++++ src/Main.cpp | 2 +- src/Parsers/APIParser.cpp | 2 +- 6 files changed, 119 insertions(+), 5 deletions(-) create mode 100644 .gitignore create mode 100644 IcarusDownloadManager.rc create mode 100644 resource.h diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..59f00ad --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +/.vs/* +/build +/x64 diff --git a/IcarusDownloadManager.rc b/IcarusDownloadManager.rc new file mode 100644 index 0000000..78870b7 --- /dev/null +++ b/IcarusDownloadManager.rc @@ -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 + diff --git a/include/Utilities/Checks.h b/include/Utilities/Checks.h index eb684ea..8743e53 100644 --- a/include/Utilities/Checks.h +++ b/include/Utilities/Checks.h @@ -44,16 +44,14 @@ namespace Utilities static auto itemIterInContainer(const Container &container, const Item &item, Func func) { auto result = false; - // std::cout<