A Swiss Army knife for developers.
C# blazorcross-platformcsharpdesktopdesktop-appdesktop-applicationdeveloper-toolsextensiblefluentfluent-designlinuxmacosmicasyntax-highlightingtypescriptwindowswindows-10windows-11winui
Made DevToys CLI using local app data
Etienne Baudoux704a0110f532
diff --git a/src/app/dev/platforms/desktop/DevToys.CLI/Core/Constants.cs b/src/app/dev/platforms/desktop/DevToys.CLI/Core/Constants.csindex 3ad026d2d..934d2b69b 100644--- a/src/app/dev/platforms/desktop/DevToys.CLI/Core/Constants.cs+++ b/src/app/dev/platforms/desktop/DevToys.CLI/Core/Constants.cs@@ -1,8 +1,10 @@-namespace DevToys.CLI.Core;+using DevToys.Core;++namespace DevToys.CLI.Core;internal static class Constants{- internal static readonly string AppCacheDirectory = Path.Combine(AppContext.BaseDirectory, "Cache");+ internal static readonly string AppCacheDirectory = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), AppHelper.IsPreviewVersion.Value ? "DevToys-CLI-preview" : "DevToys-CLI");internal static string AppTempFolder => Path.Combine(AppCacheDirectory, "Temp");}