mirror of
https://github.com/Zagrios/bs-manager.git
synced 2026-07-03 14:08:25 +02:00
[feature] can now launch beat saber from shortcut
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
export { LaunchOption } from "./launch-option.interface"
|
||||
export { LaunchResult } from "./launch-result.interface"
|
||||
export { BSLaunchErrorEvent, BSLaunchEvent, BSLaunchErrorType, BSLaunchEventType } from "./launch-event.model"
|
||||
export { BSLaunchError, BSLaunchErrorData, BSLaunchEvent, BSLaunchEventData, BSLaunchEventType, BSLaunchWarning } from "./launch-event.model"
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
export interface BSLaunchEvent{
|
||||
export interface BSLaunchEventData{
|
||||
type: BSLaunchEventType;
|
||||
data?: unknown;
|
||||
}
|
||||
|
||||
export interface BSLaunchErrorEvent{
|
||||
type: BSLaunchErrorType;
|
||||
export interface BSLaunchErrorData{
|
||||
type: BSLaunchError;
|
||||
data?: unknown;
|
||||
}
|
||||
|
||||
export enum BSLaunchErrorType{
|
||||
export enum BSLaunchError{
|
||||
BS_NOT_FOUND = "EXE_NOT_FINDED",
|
||||
BS_ALREADY_RUNNING = "BS_ALREADY_RUNNING",
|
||||
OCULUS_NOT_RUNNING = "OCULUS_NOT_RUNNING",
|
||||
@@ -16,7 +16,14 @@ export enum BSLaunchErrorType{
|
||||
UNKNOWN_ERROR = "UNKNOWN_ERROR",
|
||||
}
|
||||
|
||||
export enum BSLaunchEventType{
|
||||
export enum BSLaunchEvent{
|
||||
STEAM_LAUNCHING = "STEAM_LAUNCHING",
|
||||
STEAM_LAUNCHED = "STEAM_LAUNCHED",
|
||||
BS_LAUNCHING = "BS_LAUNCHING",
|
||||
}
|
||||
}
|
||||
|
||||
export enum BSLaunchWarning{
|
||||
UNABLE_TO_LAUNCH_STEAM = "UNABLE_TO_LAUNCH_STEAM",
|
||||
}
|
||||
|
||||
export type BSLaunchEventType = BSLaunchEvent | BSLaunchWarning;
|
||||
@@ -5,5 +5,6 @@ export interface LaunchOption {
|
||||
oculus: boolean,
|
||||
desktop: boolean,
|
||||
debug: boolean,
|
||||
additionalArgs?: string[]
|
||||
additionalArgs?: string[],
|
||||
skipAlreadyRunning?: boolean
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
export type AppWindow = "index.html" | "launcher.html" | "oneclick-download-map.html" | "oneclick-download-playlist.html" | "oneclick-download-model.html";
|
||||
export type AppWindow = "index.html" | "launcher.html" | "oneclick-download-map.html" | "oneclick-download-playlist.html" | "oneclick-download-model.html" | "shortcut-launch.html";
|
||||
|
||||
Reference in New Issue
Block a user