mirror of
https://github.com/kunkundi/crossdesk.git
synced 2026-11-10 17:49:20 +08:00
[fix] preserve Linux desktop options when restarting after updates
This commit is contained in:
@@ -274,7 +274,10 @@ void RestoreServices() {
|
||||
CloseServiceHandle(manager);
|
||||
}
|
||||
|
||||
void Restart(const fs::path& application) { Launch(application, {}); }
|
||||
std::vector<std::string> RestartArguments() { return {}; }
|
||||
void Restart(const fs::path& application, const std::vector<std::string>&) {
|
||||
Launch(application, {});
|
||||
}
|
||||
|
||||
std::shared_ptr<void> PinHelper(const fs::path& helper) {
|
||||
HANDLE handle = CreateFileW(helper.c_str(), GENERIC_READ, FILE_SHARE_READ, nullptr,
|
||||
|
||||
Reference in New Issue
Block a user