Fixed sharing plugins when the share dialog of the operating system does not respond (#1088)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-10-19 14:39:12 +02:00
1 parent 7d35536c87
commit f26d132d56
16 files changed
+543 -76

No files matched your search

@@ -0,0 +1,33 @@
namespace AIStudio.Tools.Services;
/// <summary>
/// What became of sharing or exporting a plugin archive.
/// </summary>
public enum PluginShareOutcome
{
/// <summary>
/// The share sheet of the operating system opened for the plugin archive.
/// </summary>
SHARED,
/// <summary>
/// The plugin archive was written to the location the user chose.
/// </summary>
EXPORTED,
/// <summary>
/// The user canceled choosing a location for the export.
/// </summary>
CANCELLED,
/// <summary>
/// The plugin could not be shared or exported.
/// </summary>
FAILED,
/// <summary>
/// The share sheet of the operating system failed or did not respond. The plugin archive can
/// still be exported instead.
/// </summary>
SHARE_SHEET_UNAVAILABLE,
}