mirror of
https://github.com/VSCodium/vscodium.git
synced 2026-04-24 11:50:14 +10:00
refactor: patches (#2797)
This commit is contained in:
10
patches/00-tunnel-disable-recommendation.patch
Normal file
10
patches/00-tunnel-disable-recommendation.patch
Normal file
@@ -0,0 +1,10 @@
|
||||
diff --git a/src/vs/workbench/contrib/remoteTunnel/electron-browser/remoteTunnel.contribution.ts b/src/vs/workbench/contrib/remoteTunnel/electron-browser/remoteTunnel.contribution.ts
|
||||
index 0eaa650..43eeee6 100644
|
||||
--- a/src/vs/workbench/contrib/remoteTunnel/electron-browser/remoteTunnel.contribution.ts
|
||||
+++ b/src/vs/workbench/contrib/remoteTunnel/electron-browser/remoteTunnel.contribution.ts
|
||||
@@ -152,2 +152,5 @@ export class RemoteTunnelWorkbenchContribution extends Disposable implements IWo
|
||||
const shouldRecommend = async () => {
|
||||
+ if (!Boolean(remoteExtension)) {
|
||||
+ return false;
|
||||
+ }
|
||||
if (this.storageService.getBoolean(REMOTE_TUNNEL_EXTENSION_RECOMMENDED_KEY, StorageScope.APPLICATION)) {
|
||||
Reference in New Issue
Block a user