MCPcopy Index your code
hub / github.com/codeaashu/claude-code / checkInstallation

Function checkInstallation

src/components/AutoUpdaterWrapper.tsx:35–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33 if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
34 t1 = () => {
35 const checkInstallation = async function checkInstallation() {
36 if (feature("SKIP_DETECTION_WHEN_AUTOUPDATES_DISABLED") && isAutoUpdaterDisabled()) {
37 logForDebugging("AutoUpdaterWrapper: Skipping detection, auto-updates disabled");
38 return;
39 }
40 const installationType = await getCurrentInstallationType();
41 logForDebugging(`AutoUpdaterWrapper: Installation type: ${installationType}`);
42 setUseNativeInstaller(installationType === "native");
43 setIsPackageManager(installationType === "package-manager");
44 };
45 checkInstallation();
46 };
47 t2 = [];

Callers 1

AutoUpdaterWrapperFunction · 0.85

Calls 4

featureFunction · 0.85
isAutoUpdaterDisabledFunction · 0.85
logForDebuggingFunction · 0.85

Tested by

no test coverage detected