mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-29 14:04:19 +03:00
fix: build failing on env validation on windows/macos
This commit is contained in:
parent
ae60a6e892
commit
828b9ee54c
@ -58,6 +58,7 @@ impl Default for Env {
|
||||
#[cfg(target_os = "linux")]
|
||||
appdir: std::env::var_os("APPDIR"),
|
||||
};
|
||||
#[cfg(target_os = "linux")]
|
||||
if env.appimage.is_some() || env.appdir.is_some() {
|
||||
// validate that we're actually running on an AppImage
|
||||
// an AppImage is mounted to `/tmp/.mount_${appPrefix}${hash}`
|
||||
|
Loading…
Reference in New Issue
Block a user