Skip to content

Commit bb8b999

Browse files
committed
fix(): screenshot issue
1 parent 04b0c30 commit bb8b999

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

electron/ScreenshotHelper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export class ScreenshotHelper {
3131
app.getPath("userData"),
3232
"extra_screenshots"
3333
)
34-
this.tempDir = path.join(app.getPath("temp"), "interview-coder-screenshots")
34+
this.tempDir = path.join(app.getPath("temp"), "InvisibleCoder-screenshots")
3535

3636
// Create directories if they don't exist
3737
this.ensureDirectoriesExist();

electron/main.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -156,18 +156,18 @@ function initializeHelpers() {
156156

157157
// Auth callback handler
158158

159-
// Register the interview-coder protocol
159+
// Register the invisibleCoder protocol
160160
if (process.platform === "darwin") {
161-
app.setAsDefaultProtocolClient("interview-coder")
161+
app.setAsDefaultProtocolClient("invisibleCoder")
162162
} else {
163-
app.setAsDefaultProtocolClient("interview-coder", process.execPath, [
163+
app.setAsDefaultProtocolClient("invisibleCoder", process.execPath, [
164164
path.resolve(process.argv[1] || "")
165165
])
166166
}
167167

168168
// Handle the protocol. In this case, we choose to show an Error Box.
169169
if (process.defaultApp && process.argv.length >= 2) {
170-
app.setAsDefaultProtocolClient("interview-coder", process.execPath, [
170+
app.setAsDefaultProtocolClient("invisibleCoder", process.execPath, [
171171
path.resolve(process.argv[1])
172172
])
173173
}

0 commit comments

Comments
 (0)