There was an error while loading. Please reload this page.
2 parents 88ff961 + 2650959 commit 7aa2ea0Copy full SHA for 7aa2ea0
1 file changed
src/main/index.ts
@@ -50,6 +50,12 @@ function createWindow(): void {
50
})
51
52
mainWindow.on('ready-to-show', () => {
53
+ if (is.dev) {
54
+ const worktreeMatch = process.cwd().match(/\.konductor\/worktrees\/([^/]+)/)
55
+ if (worktreeMatch) {
56
+ mainWindow!.setTitle(`Konductor [${worktreeMatch[1]}]`)
57
+ }
58
59
mainWindow!.show()
60
61
0 commit comments