You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reportProgress("Downloads are disabled, and a cached CLI is used which does not match the server version $buildVersion and could cause compatibility issues")
96
+
return cli
117
97
}
118
98
119
99
/**
@@ -132,16 +112,13 @@ data class Features(
132
112
classCoderCLIManager(
133
113
privatevalcontext:CoderToolboxContext,
134
114
// The URL of the deployment this CLI is for.
135
-
privatevaldeploymentURL:URL,
136
-
// If the binary directory is not writable, this can be used to force the
137
-
// manager to download to the data directory instead.
138
-
privatevalforceDownloadToData:Boolean = false,
115
+
privatevaldeploymentURL:URL
139
116
) {
140
117
privateval downloader = createDownloadService()
141
118
privateval gpgVerifier =GPGVerifier(context)
142
119
143
120
val remoteBinaryURL:URL= context.settingsStore.binSource(deploymentURL)
144
-
val localBinaryPath:Path= context.settingsStore.binPath(deploymentURL, forceDownloadToData)
121
+
val localBinaryPath:Path= context.settingsStore.binPath(deploymentURL)
145
122
val coderConfigPath:Path= context.settingsStore.dataDir(deploymentURL).resolve("config")
0 commit comments