[feat-560] ask user for installation folder/path

This commit is contained in:
silentrald
2024-08-23 22:09:32 +08:00
parent eba2b6fb03
commit 5e6837b8cd
22 changed files with 314 additions and 43 deletions
+6 -2
View File
@@ -27,8 +27,6 @@ export interface IpcChannelMapping {
/* ** bs-download-ipcs ** */
"import-version": { request: ImportVersionOptions, response: Progression<BSVersion>};
"bs-download.installation-folder": { request: void, response: string};
"bs-download.set-installation-folder": { request: string, response: string};
"auto-download-bs-version": { request: DownloadSteamInfo, response: DepotDownloaderEvent};
"download-bs-version": { request: DownloadSteamInfo, response: DepotDownloaderEvent};
"download-bs-version-qr": { request: DownloadSteamInfo, response: DepotDownloaderEvent};
@@ -44,6 +42,12 @@ export interface IpcChannelMapping {
"bsv-search-playlist": {request: PlaylistSearchParams, response: BsvPlaylist[]};
"bsv-get-playlist-details-by-id": {request: {id: string, page: number}, response: BsvPlaylistPage};
/* ** bs-installer-ipcs ** */
"bs-installer.folder-exists": { require: void, response: boolean };
"bs-installer.default-install-path": { request: void, response: string };
"bs-installer.install-path": { request: void, response: string};
"bs-installer.set-install-path": { request: string, response: string};
/* ** bs-launcher-ipcs ** */
"create-launch-shortcut": { request: LaunchOption, response: boolean };
"bs-launch.need-start-as-admin": { request: void, response: boolean };