diff --git a/Common/src/constants.h b/Common/src/constants.h index 2fa190d..23429ec 100644 --- a/Common/src/constants.h +++ b/Common/src/constants.h @@ -1,6 +1,6 @@ #pragma once -constexpr auto VERSION = "1.5.0"; +constexpr auto VERSION = "1.5.1"; constexpr auto INTEGRATION_64 = L"Integration64.dll"; constexpr auto INTEGRATION_32 = L"Integration32.dll"; diff --git a/IntegrationWizard/src/integration_wizard_util.cpp b/IntegrationWizard/src/integration_wizard_util.cpp index 0900bdf..4eb837d 100644 --- a/IntegrationWizard/src/integration_wizard_util.cpp +++ b/IntegrationWizard/src/integration_wizard_util.cpp @@ -52,6 +52,8 @@ bool changeOwnership(LPCWSTR objectPath, WELL_KNOWN_SID_TYPE wellKnownSidType) WCHAR objPath[MAX_PATH]; // Copy string into a buffer, since some functions do not accept const ptr wcscpy_s(objPath, objectPath); +#pragma warning(disable : 6054) // VS incorrectly warns that the string might not be terminated. + // Open a handle to the access token for the calling process. HANDLE hToken = NULL; @@ -111,7 +113,6 @@ bool changeOwnership(LPCWSTR objectPath, WELL_KNOWN_SID_TYPE wellKnownSidType) } // Finally, apply the permissions -#pragma warning(disable : 6054) // VS incorrectly warns that the string might not be terminated. result = SetNamedSecurityInfo(objPath, SE_FILE_OBJECT, DACL_SECURITY_INFORMATION, 0, 0, pNewDACL, 0); if(result != ERROR_SUCCESS) { diff --git a/inno_setup.iss b/inno_setup.iss index f4ebcaa..ee92a70 100644 --- a/inno_setup.iss +++ b/inno_setup.iss @@ -2,7 +2,7 @@ ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! #define MyAppName "Koalageddon" -#define MyAppVersion "1.5.0" +#define MyAppVersion "1.5.1" #define MyAppPublisher "acidicoala" #define MyAppURL "https://github.com/acidicoala/Koalageddon" #define MyAppExeName "IntegrationWizard32.exe"