chore(bindings): regenerate after project_roots moved off the IPC thread (#6812)

#6799 made project_roots a spawned desktop command and added a doc line without regenerating src/bindings.ts and the command snapshot, which CI's generated-files check compares.
Цей коміт міститься в:
l0ng-ai authored and GitHub committed 2026-11-29 15:36:33 +08:00
1 джерело b5aa21e791
коміт 68e3adde99
2 files changed
+2 -1

No files matched your search

+1 -1
Переглянути файл
@@ -574,7 +574,7 @@ profiler_gc_before_stop trusted desktop bin
profiler_prepare trusted desktop bindings async
project_current always project_host bindings sync
project_rename always desktop bindings sync
project_roots always project_host bindings sync
project_roots always project_host bindings spawn
project_trust_add_location always desktop bindings async
project_trust_list always project_host bindings sync
project_trust_remove_location always project_host bindings async
+1
Переглянути файл
@@ -1603,6 +1603,7 @@ export const commands = {
/**
* Effective source / test / resource / excluded roots of the window's project:
* auto-detected from build files, overridden by Settings › Project Structure.
* Off the UI thread: Gradle source roots may walk the project for builds, slow on a share.
*/
projectRoots: () => typedError<ProjectRoots, IdeError>(__TAURI_INVOKE("project_roots")),
projectTrustAddLocation: (path: string) => typedError<null, IdeError>(__TAURI_INVOKE("project_trust_add_location", { path })),