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

@@ -1,3 +1,10 @@
namespace AIStudio.Tools.Services;
public sealed record PluginShareResult(bool Success, string PluginName, string ArchivePath, string Issue, bool Cancelled = false);
/// <summary>
/// The result of sharing or exporting a plugin archive.
/// </summary>
/// <param name="Outcome">What became of the request.</param>
/// <param name="PluginName">The name of the plugin.</param>
/// <param name="ArchivePath">Where the archive was written; empty when there is none.</param>
/// <param name="Issue">Why the plugin could not be shared or exported; empty otherwise.</param>
public sealed record PluginShareResult(PluginShareOutcome Outcome, string PluginName, string ArchivePath, string Issue);