openclaw-openviking-setup-helper 0.2.9-dev.5 → 0.2.10
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 +5 -6
- package/package.json +1 -1
package/install.js
CHANGED
|
@@ -1597,12 +1597,12 @@ async function deployLocalPlugin(localPluginDir, destDir) {
|
|
|
1597
1597
|
}
|
|
1598
1598
|
|
|
1599
1599
|
async function installPluginDependencies(destDir) {
|
|
1600
|
-
info(tr("Installing plugin npm dependencies...", "
|
|
1600
|
+
info(tr("Installing plugin npm dependencies...", "正在安装插件 npm 依赖..."));
|
|
1601
1601
|
const npmArgs = resolvedNpmOmitDev
|
|
1602
1602
|
? ["install", "--omit=dev", "--no-audit", "--no-fund", "--registry", NPM_REGISTRY]
|
|
1603
1603
|
: ["install", "--no-audit", "--no-fund", "--registry", NPM_REGISTRY];
|
|
1604
1604
|
await run("npm", npmArgs, { cwd: destDir, silent: false });
|
|
1605
|
-
return info(`Plugin prepared: ${destDir}`);
|
|
1605
|
+
return info(tr(`Plugin prepared: ${destDir}`, `插件已准备: ${destDir}`));
|
|
1606
1606
|
}
|
|
1607
1607
|
|
|
1608
1608
|
async function createPluginStagingDir() {
|
|
@@ -1623,8 +1623,7 @@ async function finalizePluginDeployment(stagingDir) {
|
|
|
1623
1623
|
await cp(stagingDir, PLUGIN_DEST, { recursive: true, force: true });
|
|
1624
1624
|
await rm(stagingDir, { recursive: true, force: true });
|
|
1625
1625
|
}
|
|
1626
|
-
return info(`Plugin deployed: ${PLUGIN_DEST}`);
|
|
1627
|
-
info(tr(`Plugin prepared: ${destDir}`, `鎻掍欢宸插噯澶? ${destDir}`));
|
|
1626
|
+
return info(tr(`Plugin deployed: ${PLUGIN_DEST}`, `插件部署完成: ${PLUGIN_DEST}`));
|
|
1628
1627
|
}
|
|
1629
1628
|
|
|
1630
1629
|
async function deployPluginFromRemote() {
|
|
@@ -1755,7 +1754,7 @@ async function configureOpenClawPlugin({
|
|
|
1755
1754
|
info(
|
|
1756
1755
|
tr(
|
|
1757
1756
|
`Preserved existing plugin runtime config for ${pluginId}`,
|
|
1758
|
-
|
|
1757
|
+
`已保留 ${pluginId} 的现有插件运行时配置`,
|
|
1759
1758
|
),
|
|
1760
1759
|
);
|
|
1761
1760
|
return;
|
|
@@ -1934,7 +1933,7 @@ function ensureExistingPluginForUpgrade() {
|
|
|
1934
1933
|
err(
|
|
1935
1934
|
tr(
|
|
1936
1935
|
`Plugin upgrade mode expects an existing plugin at ${PLUGIN_DEST}. Run the full installer first if this is a fresh install.`,
|
|
1937
|
-
|
|
1936
|
+
`插件升级模式要求 ${PLUGIN_DEST} 处已存在插件安装。若是首次安装,请先运行完整安装流程。`,
|
|
1938
1937
|
),
|
|
1939
1938
|
);
|
|
1940
1939
|
process.exit(1);
|