Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5bb4e78

Browse files
committedSep 15, 2022
chore: refresh patches
1 parent 2d4f71e commit 5bb4e78

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed
 

‎patches/disable-builtin-ext-update.diff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Index: code-server/lib/vscode/src/vs/workbench/contrib/extensions/browser/extens
1818
if (!this.local.preRelease && this.gallery.properties.isPreReleaseVersion) {
1919
return false;
2020
}
21-
@@ -1121,6 +1125,10 @@ export class ExtensionsWorkbenchService
21+
@@ -1121,6 +1125,10 @@ export class ExtensionsWorkbenchService
2222
// Skip if check updates only for builtin extensions and current extension is not builtin.
2323
continue;
2424
}

‎patches/logout.diff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Index: code-server/lib/vscode/src/vs/workbench/browser/client.ts
6868
constructor (
6969
@ILogService private logService: ILogService,
7070
@INotificationService private notificationService: INotificationService,
71-
@@ -82,6 +86,10 @@ export class CodeServerClient extends Di
71+
@@ -81,6 +85,10 @@ export class CodeServerClient extends Di
7272
if (this.productService.updateEndpoint) {
7373
this.checkUpdates(this.productService.updateEndpoint)
7474
}
@@ -79,7 +79,7 @@ Index: code-server/lib/vscode/src/vs/workbench/browser/client.ts
7979
}
8080

8181
private checkUpdates(updateEndpoint: string) {
82-
@@ -133,4 +141,25 @@ export class CodeServerClient extends Di
82+
@@ -132,4 +140,25 @@ export class CodeServerClient extends Di
8383

8484
updateLoop();
8585
}

‎patches/service-worker.diff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Index: code-server/lib/vscode/src/vs/workbench/browser/client.ts
3636
===================================================================
3737
--- code-server.orig/lib/vscode/src/vs/workbench/browser/client.ts
3838
+++ code-server/lib/vscode/src/vs/workbench/browser/client.ts
39-
@@ -90,6 +90,10 @@ export class CodeServerClient extends Di
39+
@@ -89,6 +89,10 @@ export class CodeServerClient extends Di
4040
if (this.productService.logoutEndpoint) {
4141
this.addLogoutCommand(this.productService.logoutEndpoint);
4242
}
@@ -47,7 +47,7 @@ Index: code-server/lib/vscode/src/vs/workbench/browser/client.ts
4747
}
4848

4949
private checkUpdates(updateEndpoint: string) {
50-
@@ -162,4 +166,17 @@ export class CodeServerClient extends Di
50+
@@ -161,4 +165,17 @@ export class CodeServerClient extends Di
5151
});
5252
}
5353
}

‎patches/update-check.diff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Index: code-server/lib/vscode/src/vs/workbench/browser/client.ts
2929
) {
3030
super();
3131
}
32-
@@ -72,5 +78,59 @@ export class CodeServerClient extends Di
32+
@@ -71,5 +77,59 @@ export class CodeServerClient extends Di
3333
},
3434
});
3535
}

0 commit comments

Comments
 (0)
Please sign in to comment.