mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 11:46:30 +02:00
Runner: fix startup task state setting for MSIX (#1181)
This commit is contained in:
@@ -1,3 +1,15 @@
|
||||
#pragma once
|
||||
|
||||
bool running_as_packaged();
|
||||
#include <future>
|
||||
|
||||
#include <winrt/Windows.ApplicationModel.h>
|
||||
|
||||
|
||||
namespace winstore
|
||||
{
|
||||
using winrt::Windows::ApplicationModel::StartupTaskState;
|
||||
|
||||
bool running_as_packaged();
|
||||
std::future<void> switch_startup_task_state_async(const bool enabled);
|
||||
std::future<StartupTaskState> get_startup_task_status_async();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user