Skip to content

Commit 1b4943f

Browse files
committed
devmode
1 parent 8c443ab commit 1b4943f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/vs/platform/void/electron-main/voidUpdateMainService.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ export class VoidMainUpdateService extends Disposable implements IVoidUpdateServ
2424

2525
async check() {
2626
const isDevMode = !this._envMainService.isBuilt // found in abstractUpdateService.ts
27+
2728
if (isDevMode) {
28-
console.log('Checking for updates in dev mode')
29-
// return { message: `` }
29+
return { hasUpdate: false } as const
3030
}
3131

3232
try {
33-
const res = await fetch(`https://updates.voideditor.dev/api/v0/${this._productService.commit ?? '6e1f8a08b39b9fcc2810356a7e69e65d6e61d13f'}`)
33+
const res = await fetch(`https://updates.voideditor.dev/api/v0/${this._productService.commit}`)
3434
const resJSON = await res.json()
3535

3636
if (!resJSON) return null

0 commit comments

Comments
 (0)