mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-05 02:27:21 +00:00
Fixed sharing plugins when the share dialog of the operating system does not respond (#1088)
This commit is contained in:
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);
|
||||
Reference in new issue
Block a user