appimage_environment 0.2.1

This crate contains some structs and functions to handle the tools, which are included in the AppImage.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/************************************************************************
* pk:56a5e5e6e74140b0d28d3b4ee3dc87b9b4d6db17864f89855d2ee3396ee27177
************************************************************************/

extern crate appimage_environment;
use appimage_environment::Environment;

fn main() {
	println!("appdir: {:?}", Environment::appdir());
	println!("appimage: {:?}", Environment::appimage());
	println!("owd: {:?}", Environment::owd());
	println!("argv0: {:?}", Environment::argv0());
	println!("Path of Binary 'lspci' {:?}:", Environment::get_path_of("lspci"));
}