mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-04 23:27:22 +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
@@ -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,
|
||||
}
|
||||
Reference in new issue
Block a user