Skip to content

Commit

Permalink
feat: Add feature flag for path overriding
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinZikmund committed Jul 25, 2023
1 parent 7ebf204 commit 8d92d3e
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions src/Uno.UWP/WinRTFeatureConfiguration.ApplicationData.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#nullable enable

namespace Uno;

partial class WinRTFeatureConfiguration
{
public static class ApplicationData
{
#if __SKIA__
/// <summary>
/// Allows overriding the root folder path that the application will use
/// to store its TempState folder.
/// </summary>
/// <remarks>Only applies to Skia targets.</remarks>
public static string? TemporaryFolderPathOverride { get; set; }

/// <summary>
/// Allows overriding the root folder that the application will use
/// to store its application data folders (LocalFolder, RoamingFolder, etc.).
/// Only applies to Skia targets.
/// </summary>
/// <remarks>Only applies to Skia targets.</remarks>
public static string? ApplicationDataPathOverride { get; set; }
#endif
}
}

0 comments on commit 8d92d3e

Please sign in to comment.