mirror of
https://github.com/tauri-apps/fix-path-env-rs.git
synced 2026-01-31 00:45:16 +01:00
14 lines
297 B
Rust
14 lines
297 B
Rust
// Copyright 2021 Tauri Programme within The Commons Conservancy
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
use fix_path_env::fix;
|
|
|
|
fn main() {
|
|
if let Err(e) = fix() {
|
|
println!("{}", e);
|
|
} else {
|
|
println!("PATH: {}", std::env::var("PATH").unwrap());
|
|
}
|
|
}
|