From 866dd7acc075c65df34653019571dfafb607cd84 Mon Sep 17 00:00:00 2001 From: CAIMEOX <1853884864@qq.com> Date: Fri, 9 Feb 2024 11:06:28 +0800 Subject: [PATCH] fix: android suffix --- src/handlers/npm.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/handlers/npm.js b/src/handlers/npm.js index ed7ef8b..ee55365 100644 --- a/src/handlers/npm.js +++ b/src/handlers/npm.js @@ -143,6 +143,8 @@ class NpmClass extends DelayHanlderWithInfo { async add(packageName) { await this.check(); + const android_suffix = + this.platform === 'android' ? '--no-bin-links' : ''; start(`Install extension "${packageName}"...`); if (this.pnpm) { if (this.platform === 'android')