Skip to content

Commit

Permalink
Merge branch 'v1.0' into jsibbison-20241218-tui-configure
Browse files Browse the repository at this point in the history
* v1.0:
  tiny change to use most recent in stack (#501)
  • Loading branch information
jsibbison-square committed Dec 19, 2024
2 parents c7f6fc1 + e813c8d commit 13c8cfc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ui/desktop/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,9 @@ app.whenReady().then(async () => {
const { dirPath } = parseArgs();

createTray();
createChat(app, undefined, dirPath);
const recentDirs = loadRecentDirs();
let openDir = dirPath || (recentDirs.length > 0 ? recentDirs[0] : null);
createChat(app, undefined, openDir);

// Show launcher input on key combo
globalShortcut.register('Control+Alt+Command+G', createLauncher);
Expand Down

0 comments on commit 13c8cfc

Please sign in to comment.