@mingxy/ocosay 1.1.13 → 1.1.14
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/package.json +1 -1
- package/dist/plugin.js +2 -2
- package/package.json +1 -1
package/dist/package.json
CHANGED
package/dist/plugin.js
CHANGED
|
@@ -10122,8 +10122,8 @@ async function installPortAudio() {
|
|
|
10122
10122
|
if (msg.includes("sudo") || msg.includes("password") || msg.includes("Password")) {
|
|
10123
10123
|
notificationService.error(
|
|
10124
10124
|
"\u9700\u8981 sudo \u6743\u9650",
|
|
10125
|
-
"\
|
|
10126
|
-
|
|
10125
|
+
"# \u5728WSL\u7EC8\u7AEF\u6267\u884C\u4E00\u6B21\nsudo visudo\n# \u6DFB\u52A0\u884C\uFF1Adongx ALL=(ALL) NOPASSWD: ALL",
|
|
10126
|
+
1e4
|
|
10127
10127
|
);
|
|
10128
10128
|
logger8.error({ err }, "sudo password required");
|
|
10129
10129
|
return false;
|