mirror of
https://github.com/YuzuZensai/VRC-Circle.git
synced 2026-09-13 19:08:52 +00:00
✨ feat: Unity creator settings
This commit is contained in:
@@ -8,6 +8,7 @@ import type {
|
||||
import type { SocialSnapshot, UserProfile, UserStatus } from "./types/user";
|
||||
import type { FavoriteWorldFolder, World, WorldSnapshot } from "./types/world";
|
||||
import type { Instance } from "./types/instance";
|
||||
import type { UnityStatus } from "./types/unity";
|
||||
import type { Avatar } from "./types/avatar";
|
||||
import type { RepoStats, StoredEntity } from "./types/repository";
|
||||
import type { AccountSettings, ContentFilterKey, Pending2Fa, RecoveryCode } from "./types/settings";
|
||||
@@ -91,6 +92,9 @@ export interface IpcRequests {
|
||||
"config:setGamePath": (p: { gamePath: string | null }) => IpcResult<AppConfig>;
|
||||
"config:pickGamePath": () => IpcResult<AppConfig>;
|
||||
|
||||
"unity:status": () => IpcResult<UnityStatus>;
|
||||
"unity:install": (url: string) => IpcResult<void>;
|
||||
|
||||
"game:status": () => IpcResult<GameStatus>;
|
||||
"game:launch": () => IpcResult<GameStatus>;
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
export interface AppConfig {
|
||||
version: string;
|
||||
gamePath: string | null;
|
||||
detectedGamePath: string | null;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
export interface UnityStatus {
|
||||
hubInstalled: boolean;
|
||||
editorRoot: string | null;
|
||||
installedVersions: string[];
|
||||
requiredVersion: string | null;
|
||||
installUrl: string | null;
|
||||
match: "ok" | "missing" | "no-editor" | "unknown";
|
||||
}
|
||||
Reference in New Issue
Block a user