codewave-openclaw-installer 2.1.3 → 2.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/install-lib.mjs +13 -0
- package/package.json +1 -1
package/bin/install-lib.mjs
CHANGED
|
@@ -55,6 +55,8 @@ export const CHANNEL_DEFINITIONS = {
|
|
|
55
55
|
desktopAppWindowsCandidates: [
|
|
56
56
|
'DingTalk.exe',
|
|
57
57
|
'DingtalkLauncher.exe',
|
|
58
|
+
'DingDing/DingTalk.exe',
|
|
59
|
+
'DingDing/DingtalkLauncher.exe',
|
|
58
60
|
'Programs/DingTalk/DingTalk.exe',
|
|
59
61
|
'Programs/DingTalk/DingtalkLauncher.exe',
|
|
60
62
|
],
|
|
@@ -83,6 +85,7 @@ export const CHANNEL_DEFINITIONS = {
|
|
|
83
85
|
desktopAppWindowsCandidates: [
|
|
84
86
|
'WXWork.exe',
|
|
85
87
|
'WeCom.exe',
|
|
88
|
+
'D:\\WXWork\\WXWork.exe',
|
|
86
89
|
'Programs/WeCom/WeCom.exe',
|
|
87
90
|
'Programs/WXWork/WXWork.exe',
|
|
88
91
|
],
|
|
@@ -246,6 +249,16 @@ export function detectDesktopAppInstallMatches({
|
|
|
246
249
|
const roots = getDesktopSearchRoots({ platform, homeDir, env });
|
|
247
250
|
|
|
248
251
|
for (const candidate of fileCandidates) {
|
|
252
|
+
const isAbsoluteCandidate = platform === 'win32'
|
|
253
|
+
? path.win32.isAbsolute(candidate)
|
|
254
|
+
: path.posix.isAbsolute(candidate);
|
|
255
|
+
if (isAbsoluteCandidate) {
|
|
256
|
+
if (exists(candidate)) {
|
|
257
|
+
matches.push(candidate);
|
|
258
|
+
}
|
|
259
|
+
continue;
|
|
260
|
+
}
|
|
261
|
+
|
|
249
262
|
for (const root of roots) {
|
|
250
263
|
const candidatePath = joinForPlatform(platform, root, candidate);
|
|
251
264
|
if (exists(candidatePath)) {
|