🐛 Update Linux packaging experience
This commit is contained in:
2
bin/README.md
vendored
2
bin/README.md
vendored
@@ -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
3
bin/README_CN.md
vendored
@@ -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>
|
||||
|
||||
2
bin/builders/BaseBuilder.ts
vendored
2
bin/builders/BaseBuilder.ts
vendored
@@ -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
2
bin/utils/shell.ts
vendored
@@ -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}`));
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user