mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 20:27:36 +02:00
19 lines
553 B
C
19 lines
553 B
C
|
|
#pragma once
|
||
|
|
|
||
|
|
#include <string>
|
||
|
|
#include <optional>
|
||
|
|
#include <future>
|
||
|
|
|
||
|
|
#include "notifications.h"
|
||
|
|
#include "../VersionHelper.h"
|
||
|
|
|
||
|
|
namespace updating
|
||
|
|
{
|
||
|
|
std::wstring get_msi_package_path();
|
||
|
|
bool uninstall_msi_version(const std::wstring& package_path, const notifications::strings&);
|
||
|
|
bool offer_msi_uninstallation(const notifications::strings&);
|
||
|
|
std::optional<std::wstring> get_msi_package_installed_path();
|
||
|
|
|
||
|
|
std::optional<VersionHelper> get_installed_powertoys_version();
|
||
|
|
std::future<bool> uninstall_previous_msix_version_async();
|
||
|
|
}
|