Skip to content

Commit a591951

Browse files
committed
fix: add REG KEY to logs
1 parent d6bcbc6 commit a591951

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/features/terminal/startup/cmdStartup.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,12 @@ async function setupRegistryAutoRun(mainBatchFile: string): Promise<boolean> {
139139
{ windowsHide: true },
140140
);
141141

142-
traceInfo(`Set CMD AutoRun registry key to call: ${mainBatchFile}`);
142+
traceInfo(
143+
`Set CMD AutoRun registry key [HKCU\\Software\\Microsoft\\Command Processor] to call: ${mainBatchFile}`,
144+
);
143145
return true;
144146
} catch (err) {
145-
traceError('Failed to set CMD AutoRun registry key', err);
147+
traceError('Failed to set CMD AutoRun registry key [HKCU\\Software\\Microsoft\\Command Processor]', err);
146148
return false;
147149
}
148150
}

0 commit comments

Comments
 (0)