mirror of
https://github.com/XLabsProject/s1x-client.git
synced 2023-08-02 15:02:12 +02:00
Fix toasts
This commit is contained in:
parent
ab76364aa6
commit
69fdcd6da1
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user