@alucardeht/may-la-mcp 0.1.0 → 1.0.0
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/install.js +1 -7
- package/package.json +1 -1
package/install.js
CHANGED
|
@@ -174,8 +174,7 @@ function removeQuarantine(filePath) {
|
|
|
174
174
|
function binaryExists(installDir, platform) {
|
|
175
175
|
const suffix = platform === 'windows' ? '.exe' : '';
|
|
176
176
|
const maylaPath = path.join(installDir, `mayla${suffix}`);
|
|
177
|
-
|
|
178
|
-
return fs.existsSync(maylaPath) && fs.existsSync(daemonPath);
|
|
177
|
+
return fs.existsSync(maylaPath);
|
|
179
178
|
}
|
|
180
179
|
|
|
181
180
|
function printHeader(platform, arch, version) {
|
|
@@ -240,11 +239,6 @@ async function main() {
|
|
|
240
239
|
url: buildDownloadUrl('mayla', version, platform, arch),
|
|
241
240
|
dest: path.join(installDir, `mayla${suffix}`),
|
|
242
241
|
},
|
|
243
|
-
{
|
|
244
|
-
name: 'mayla-daemon',
|
|
245
|
-
url: buildDownloadUrl('mayla-daemon', version, platform, arch),
|
|
246
|
-
dest: path.join(installDir, `mayla-daemon${suffix}`),
|
|
247
|
-
},
|
|
248
242
|
];
|
|
249
243
|
|
|
250
244
|
const existingBinaries = binaryExists(installDir, platform);
|