@mingxy/ocosay 1.1.30 → 1.1.31
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/dist/core/dependency-installer.js +2 -0
- package/dist/package.json +1 -1
- package/dist/plugin.js +4 -2
- package/package.json +1 -1
|
@@ -82,6 +82,7 @@ export async function installSystemPackages(packages, notifSvc) {
|
|
|
82
82
|
execSync('sudo apt-get update', {
|
|
83
83
|
timeout: 120000,
|
|
84
84
|
encoding: 'utf8',
|
|
85
|
+
stdio: ['pipe', 'pipe', 'pipe'],
|
|
85
86
|
});
|
|
86
87
|
silentLog('info', 'apt-get update 完成');
|
|
87
88
|
}
|
|
@@ -93,6 +94,7 @@ export async function installSystemPackages(packages, notifSvc) {
|
|
|
93
94
|
const output = execSync(fullCommand, {
|
|
94
95
|
timeout: 300000,
|
|
95
96
|
encoding: 'utf8',
|
|
97
|
+
stdio: ['pipe', 'pipe', 'pipe'],
|
|
96
98
|
});
|
|
97
99
|
silentLog('info', `安装输出: ${output.substring(0, 500)}`);
|
|
98
100
|
const verifiedPackages = [];
|
package/dist/package.json
CHANGED
package/dist/plugin.js
CHANGED
|
@@ -10172,7 +10172,8 @@ async function installSystemPackages(packages, notifSvc) {
|
|
|
10172
10172
|
try {
|
|
10173
10173
|
execSync3("sudo apt-get update", {
|
|
10174
10174
|
timeout: 12e4,
|
|
10175
|
-
encoding: "utf8"
|
|
10175
|
+
encoding: "utf8",
|
|
10176
|
+
stdio: ["pipe", "pipe", "pipe"]
|
|
10176
10177
|
});
|
|
10177
10178
|
silentLog("info", "apt-get update \u5B8C\u6210");
|
|
10178
10179
|
} catch (updateErr) {
|
|
@@ -10182,7 +10183,8 @@ async function installSystemPackages(packages, notifSvc) {
|
|
|
10182
10183
|
notifSvc?.info(`\u6B63\u5728\u5B89\u88C5 ${validPackages.length} \u4E2A\u5305...`, "Ocosay", 5e3);
|
|
10183
10184
|
const output = execSync3(fullCommand, {
|
|
10184
10185
|
timeout: 3e5,
|
|
10185
|
-
encoding: "utf8"
|
|
10186
|
+
encoding: "utf8",
|
|
10187
|
+
stdio: ["pipe", "pipe", "pipe"]
|
|
10186
10188
|
});
|
|
10187
10189
|
silentLog("info", `\u5B89\u88C5\u8F93\u51FA: ${output.substring(0, 500)}`);
|
|
10188
10190
|
const verifiedPackages = [];
|