refactor(desktop): note the runtime descriptor validation in applyRelease

applyRelease keeps readDesktopRuntime for its fail-loud validation after the cleanup consumer was removed.
This commit is contained in:
imccyu committed 2026-09-19 15:06:26 +08:00
1 parent 1c806e5a16
commit 03e3a3bca0
1 file changed
+1
+1
View File
@@ -82,6 +82,7 @@ export class DesktopProjectManager {
*/
async applyRelease(): Promise<void> {
await this.withLock(() => {
// Validation only: an unreadable or mismatched runtime descriptor stops preparation before the Host starts.
readDesktopRuntime(this.runtime.dsh)
migrateProfileSettings(this.paths.profile)
createPluginProfile(this.paths.profile)