๐Ÿ“ฆ tauri-apps / fix-path-env-rs

๐Ÿ“„ shell.rs ยท 14 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14// 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());
  }
}