diff --git a/src/Directory.Packages.props b/src/Directory.Packages.props
index 0451d6e..a1941f3 100644
--- a/src/Directory.Packages.props
+++ b/src/Directory.Packages.props
@@ -17,23 +17,23 @@
-
-
-
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
@@ -43,17 +43,17 @@
-
+
-
-
-
-
-
+
+
+
+
+
-
+
diff --git a/src/Typical/Infrastructure/StartupTasks.cs b/src/Typical/Infrastructure/StartupTasks.cs
index 986453b..83d07f0 100644
--- a/src/Typical/Infrastructure/StartupTasks.cs
+++ b/src/Typical/Infrastructure/StartupTasks.cs
@@ -1,8 +1,12 @@
using System.Text.Json;
+
using DotNetPathUtils;
+
using Microsoft.Extensions.Logging;
-using NuGet.Versioning;
+
using Typical.Configuration;
+
+using Velopack;
using Velopack.Locators;
using Velopack.Logging;
@@ -10,38 +14,6 @@ namespace Typical.Infrastructure;
public static class StartupTasks
{
- private static JsonSerializerOptions JsonOptions { get; } =
- new JsonSerializerOptions { WriteIndented = true };
-
- internal static void Install(SemanticVersion? v = null)
- {
- var locator = VelopackLocator.CreateDefaultForPlatform();
-
- var logger = locator.Log;
-
- var installDir = locator.RootAppDir is not null
- ? Path.Combine(locator.RootAppDir, "current")
- : AppDomain.CurrentDomain.BaseDirectory;
-
- logger.Debug($"Adding path to $env.PATH: {installDir} ");
-
- var result = new PathEnvironmentHelper().EnsureDirectoryIsInPath(installDir!);
-
- logger.Info($"Add path result: {result.Status}");
- }
-
- internal static void Uninstall(SemanticVersion? v = null)
- {
- var logger = VelopackLocator.CreateDefaultForPlatform().Log;
- logger.Info("Performing installation tasks...");
- logger.Info("Cleaning up path...");
-
- var appDir = Path.GetDirectoryName(AppContext.BaseDirectory)!;
- var result = new PathEnvironmentHelper().RemoveDirectoryFromPath(appDir);
-
- logger.Info($"Remove from path result: {result.Status}");
- }
-
public static async Task InitializeAsync(ILogger? logger = null)
{
var configPath = Path.Combine(AppPaths.ConfigHome, "config.json");
diff --git a/src/Typical/Typical.csproj b/src/Typical/Typical.csproj
index ba2ec48..1ff2d42 100644
--- a/src/Typical/Typical.csproj
+++ b/src/Typical/Typical.csproj
@@ -22,7 +22,7 @@
-
+