mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 04:55:42 +09:00
31 lines
809 B
TypeScript
31 lines
809 B
TypeScript
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
export interface CreateShortcutOptions {
|
|
lnkPath: string;
|
|
target: string;
|
|
args?: string;
|
|
appUserModelId?: string;
|
|
toastActivatorClsid?: string;
|
|
iconPath?: string;
|
|
iconIndex?: number;
|
|
workingDir?: string;
|
|
description?: string;
|
|
}
|
|
|
|
export interface SetRunValueOptions {
|
|
name: string;
|
|
command: string;
|
|
}
|
|
|
|
export declare function createShortcut(opts: CreateShortcutOptions): Promise<void>;
|
|
|
|
export declare function setCurrentUserRunValue(opts: SetRunValueOptions): Promise<void>;
|
|
|
|
export declare function deleteCurrentUserRunValue(name: string): Promise<void>;
|
|
|
|
export declare function getCurrentUserRunValue(name: string): Promise<string | null>;
|
|
|
|
export declare function getUserNotificationState(): string;
|
|
|
|
export declare const loadError: Error | null;
|