添加安装deb包后,终端输出安装成功信息

This commit is contained in:
xiayuqi 2023-09-25 23:01:06 -07:00
parent 33045d308b
commit 9311c10b14
4 changed files with 10 additions and 11 deletions

View File

@ -174,7 +174,8 @@
"language.errorCanNotFindLibAndInstall": "Can not find project dependcy,Do you want install it? ",
"language.inputSudoPasswdTips": "need input sudo password to install install dependcy lib",
"language.getSudoPasswd": "The password for sudo privileges is required, please enter",
"language.installSuccess": "Package installed successfully!",
"language.installSuccess": "Package installed successfully\n",
"language.installSuccessInFo":"Package installed successfully!",
"language.packageNotFound": "Package not found!",
"language.installLibReturn": "Install lib result:",
"language.haveBeenInstall": "have been installed",

View File

@ -173,7 +173,8 @@
"language.errorCanNotFindLibAndInstall": "无法在系统中找到项目所需依赖库,是否安装这些依赖: ",
"language.inputSudoPasswdTips": "安装项目所需依赖需要sudo权限密码请输入",
"language.getSudoPasswd": "需要 sudo 权限密码,请输入",
"language.installSuccess":"安装软件包成功!",
"language.installSuccess":"安装软件包成功\n",
"language.installSuccessInFo":"安装软件包成功!",
"language.packageNotFound":"安装包未发现!",
"language.installLibReturn": "安装依赖返回结果:",
"language.haveBeenInstall": "已被安装",
@ -316,7 +317,7 @@
"language.packageRpm.BuildPackageSuccessInfo":"打包成功",
"language.packageRpm.BuildPackageError":"\n[4] 打包失败,请查看报错信息!",
"language.packageRpm.BuildPackageErrorInfo":"打包失败,请查看报错信息!",
"language.packageDeb.BuildPackageSuccess":"打包成功",
"language.packageDeb.BuildPackageSuccess":"打包成功\n",
"language.packageDeb.BuildPackageSuccessInfo":"打包成功",
"language.packageDeb.BuildPackageError":"打包失败,请查看报错信息!",
"language.packageDeb.BuildPackageErrorInfo":"打包失败,请查看报错信息!",

View File

@ -147,7 +147,6 @@ export class PackageManager extends BaseManager {
//开始打包
if (message.type === "START_BUILD_PACKAGE") {
let isError = false;
this.pkgType = message?.data?.packageType;
if (this.pkgType === PkgType.RPM_TYPE) {
isError = this.rpmCheckData(message, true);
@ -268,8 +267,11 @@ export class PackageManager extends BaseManager {
await vscode.window.showErrorMessage(outputInfo);
return false;
}
await vscode.window.showInformationMessage(localize("language.installSuccess"));
this.deb.logger.writeOutput(
localize("language.installSuccess")
);
await vscode.window.showInformationMessage(localize("language.installSuccessInFo"));
return true;
}

View File

@ -2213,11 +2213,6 @@ is-unicode-supported@^0.1.0:
resolved "https://registry.npmmirror.com/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz#3f26c76a809593b52bfa2ecb5710ed2779b522a7"
integrity sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==
is-version@^0.2.1:
version "0.2.1"
resolved "https://registry.yarnpkg.com/is-version/-/is-version-0.2.1.tgz#ff4d1eadec46ba34244b00870e8db529ae7aed84"
integrity sha512-ebweshccPJcOFXGnXKIkNOqHogOtFe1LHIDShgwjWcp3PduMRqPLabKs4oItW4F7SAXr4jPDHugcPF2xuMYooA==
isarray@~1.0.0:
version "1.0.0"
resolved "https://registry.npmmirror.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11"