Fix toasts

This commit is contained in:
momo5502 2021-02-20 17:05:22 +01:00
parent ab76364aa6
commit 69fdcd6da1
2 changed files with 4 additions and 4 deletions

View File

@ -22,7 +22,7 @@
#define APPVEYOR_ARTIFACT_URL(artifact) (APPVEYOR_ARTIFACT_BASE artifact APPVEYOR_ARTIFACT_SUFFIX)
#define APPVEYOR_IW6X_EXE APPVEYOR_ARTIFACT_URL("build/bin/x64/" APPVEYOR_CONFIGURATION "/s1x.exe")
#define APPVEYOR_S1X_EXE APPVEYOR_ARTIFACT_URL("build/bin/x64/" APPVEYOR_CONFIGURATION "/s1x.exe")
#define APPVEYOR_VERSION_TXT APPVEYOR_ARTIFACT_URL("build/version.txt")
namespace updater
@ -73,7 +73,7 @@ namespace updater
void perform_update(const std::string& target)
{
const auto binary = download_file_sync(APPVEYOR_IW6X_EXE);
const auto binary = download_file_sync(APPVEYOR_S1X_EXE);
utils::io::write_file(target, binary);
}

View File

@ -27,9 +27,9 @@ namespace utils
return success;
}
instance->setAppName(L"IW6x");
instance->setAppName(L"S1x");
instance->setAppUserModelId(
WinToastLib::WinToast::configureAUMI(L"X Labs", L"iw6x", L"", L"20201212"));
WinToastLib::WinToast::configureAUMI(L"X Labs", L"s1x", L"", L"20201212"));
WinToastLib::WinToast::WinToastError error;
success = instance->initialize(&error);