Whether or not the current executable is run from an AppImage. See: https://docs.appimage.org/packaging-guide/environment-variables.html
(&self)
| 165 | /// |
| 166 | /// See: https://docs.appimage.org/packaging-guide/environment-variables.html |
| 167 | pub fn in_appimage(&self) -> bool { |
| 168 | self.get_os("APPIMAGE").is_some() |
| 169 | } |
| 170 | } |
| 171 | |
| 172 | impl Default for Env { |