feat: Enhance protocol status handling and repair functionality in About and SSOLogin components
This commit is contained in:
Vendored
+14
-19
@@ -61,41 +61,36 @@ interface ElectronAPI {
|
||||
getStatus: () => Promise<{
|
||||
success: boolean;
|
||||
data?: {
|
||||
scheme: string;
|
||||
platform: string;
|
||||
primaryScheme: string;
|
||||
schemes: Record<string, {
|
||||
isDefault: boolean;
|
||||
before: boolean;
|
||||
registerCall: boolean;
|
||||
error: string | null;
|
||||
}>;
|
||||
windows: null | Record<string, {
|
||||
isDefault: boolean;
|
||||
before: boolean;
|
||||
registerCall: boolean;
|
||||
error: string | null;
|
||||
windows: null | {
|
||||
userChoiceProgId: string | null;
|
||||
userChoiceCommand: string | null;
|
||||
hkcuCommand: string | null;
|
||||
hklmCommand: string | null;
|
||||
}>;
|
||||
};
|
||||
};
|
||||
error?: string;
|
||||
}>;
|
||||
repair: () => Promise<{
|
||||
success: boolean;
|
||||
data?: {
|
||||
openedSettings: boolean;
|
||||
scheme: string;
|
||||
platform: string;
|
||||
primaryScheme: string;
|
||||
schemes: Record<string, {
|
||||
isDefault: boolean;
|
||||
before: boolean;
|
||||
registerCall: boolean;
|
||||
error: string | null;
|
||||
}>;
|
||||
windows: null | Record<string, {
|
||||
isDefault: boolean;
|
||||
before: boolean;
|
||||
registerCall: boolean;
|
||||
error: string | null;
|
||||
windows: null | {
|
||||
userChoiceProgId: string | null;
|
||||
userChoiceCommand: string | null;
|
||||
hkcuCommand: string | null;
|
||||
hklmCommand: string | null;
|
||||
}>;
|
||||
};
|
||||
};
|
||||
error?: string;
|
||||
}>;
|
||||
|
||||
Reference in New Issue
Block a user