🐛 Update Linux packaging experience

This commit is contained in:
Tw93
2024-12-30 15:36:25 +08:00
parent 1032b09ebd
commit 4871e0dafc
5 changed files with 5 additions and 8 deletions

2
bin/README.md vendored
View File

@@ -178,7 +178,7 @@ Package the application to support both Intel and M1 chips, exclusively for macO
#### [targets]
Select the output package format for Linux. Options include `deb`, `appimage`, or `all`. If `all` is selected, both `deb` and `appimage` will be packaged. Default is `all`.
Select the output package format for Linux. Options include `deb`, `appimage`, or `all`. If `all` is selected, both `deb` and `appimage` will be packaged. Default is `deb`.
```shell
--targets <format>

3
bin/README_CN.md vendored
View File

@@ -178,8 +178,7 @@ pake [url] [options]
#### [targets]
选择输出的包格式,支持 `deb`、`appimage` 或 `all`如果选择 `all`,则会同时打包 `deb` 和 `appimage`此选项仅适用于
Linux默认为 `all`。
选择输出的包格式,支持 `deb`、`appimage` 或 `all`如果选择 `all`,则会同时打包 `deb` 和 `appimage`此选项仅适用于 Linux默认为 `deb`。
```shell
--targets <string>

View File

@@ -28,7 +28,7 @@ export default abstract class BaseBuilder {
if (!IS_MAC && !tauriTargetPathExists) {
logger.warn('✼ The first use requires installing system dependencies.');
logger.warn('✼ See more in https://tauri.app/guides/getting-started/prerequisites.');
logger.warn('✼ See more in https://tauri.app/start/prerequisites/.');
}
if (!checkRustInstalled()) {

2
bin/utils/shell.ts vendored
View File

@@ -7,7 +7,7 @@ export function shellExec(command: string) {
if (code === 0) {
resolve(0);
} else {
reject(new Error(`${code}`));
reject(new Error(`Error occurred while executing command "${command}". Exit code: ${code}`));
}
});
});