mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-01 10:01:07 +02:00
add info to error message (fix 14186) (#14368)
* add info to error message * changes file and linux only warning Signed-off-by: Krzysztof Andrelczyk <cristof@curiana.net> * Update change file --------- Signed-off-by: Krzysztof Andrelczyk <cristof@curiana.net> Co-authored-by: Tony <legendmastertony@gmail.com>
This commit is contained in:
5
.changes/bundler-warning.md
Normal file
5
.changes/bundler-warning.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'tauri-bundler': 'patch:enhance'
|
||||
---
|
||||
|
||||
Mention symbol stripping on Linux in binary patch failed warning message
|
||||
@@ -99,6 +99,10 @@ pub enum Error {
|
||||
#[error("Wrong package type {0} for platform {1}")]
|
||||
InvalidPackageType(String, String),
|
||||
/// Bundle type symbol missing in binary
|
||||
#[cfg(target_os = "linux")]
|
||||
#[error("__TAURI_BUNDLE_TYPE variable not found in binary. Make sure tauri crate and tauri-cli are up to date and that symbol stripping is disabled (https://doc.rust-lang.org/cargo/reference/profiles.html#strip)")]
|
||||
MissingBundleTypeVar,
|
||||
#[cfg(not(target_os = "linux"))]
|
||||
#[error("__TAURI_BUNDLE_TYPE variable not found in binary. Make sure tauri crate and tauri-cli are up to date")]
|
||||
MissingBundleTypeVar,
|
||||
/// Failed to write binary file changed
|
||||
|
||||
Reference in New Issue
Block a user