This commit is contained in:
TinyHerm committed 2026-11-24 23:40:08 +03:00
commit 1c7a8cf25f
579 files changed
+83196

No files matched your search

+33
View File
@@ -0,0 +1,33 @@
using System;
namespace VibranceHud;
internal static class StoreHooks
{
internal static Func<IStartupRegistration>? StartupTask { get; set; }
internal static Func<bool>? LaunchedAtSignIn { get; set; }
internal static Action? OpenUpdates { get; set; }
internal static Action? OpenProductPage { get; set; }
internal static Action? RegisterRestart { get; set; }
internal static bool TryOpen(Action? door)
{
if (door == null)
{
return false;
}
try
{
door();
return true;
}
catch
{
return false;
}
}
}