Merge branch 'fix-python' into 'main'

explicitely use 3

See merge request an-anime-team/an-anime-game-launcher-gtk!1
This commit is contained in:
Marie 2022-06-29 02:20:51 +00:00
commit 0f94fef38d

View file

@ -4,7 +4,7 @@ use std::path::Path;
fn compile_blueprint<T: ToString>(path: T) -> Result<String, String> { fn compile_blueprint<T: ToString>(path: T) -> Result<String, String> {
// python blueprint-compiler/blueprint-compiler.py compile ui/main.blp // python blueprint-compiler/blueprint-compiler.py compile ui/main.blp
let output = Command::new("python") let output = Command::new("python3")
.arg("blueprint-compiler/blueprint-compiler.py") .arg("blueprint-compiler/blueprint-compiler.py")
.arg("compile") .arg("compile")
.arg(path.to_string()) .arg(path.to_string())