Merge branch 'fix/setup-bundle': .titano project files, per-machine server, services and Run entries handled by setup, per-product data removal
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
49 files changed
+2741
-128
No files matched your search
@@ -1,6 +1,7 @@
|
||||
using System.Security;
|
||||
using Microsoft.Win32;
|
||||
using Titano.Core.Diagnostics;
|
||||
using Titano.Core.IO;
|
||||
|
||||
namespace Titano.Uploader.Infrastructure;
|
||||
|
||||
@@ -14,12 +15,13 @@ public interface IStartupRegistration
|
||||
|
||||
/// <summary>
|
||||
/// <c>HKCU\Software\Microsoft\Windows\CurrentVersion\Run</c> value that starts the uploader in the tray at sign-in.
|
||||
/// The registry stays the source of truth because Task Manager can turn it off.
|
||||
/// The registry stays the source of truth because Task Manager can turn it off. Uninstalling removes the value when
|
||||
/// it starts the Uploader the uninstaller removes (<see cref="StartupCommand"/> names it for both).
|
||||
/// </summary>
|
||||
public sealed class RunKeyStartupRegistration : IStartupRegistration
|
||||
{
|
||||
private const string RunKey = @"Software\Microsoft\Windows\CurrentVersion\Run";
|
||||
private const string ValueName = "Titano Uploader";
|
||||
private const string RunKey = StartupCommand.RunKey;
|
||||
private const string ValueName = StartupCommand.UploaderValue;
|
||||
|
||||
public bool IsEnabled
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user