mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Add new command for Windows configuration
This commit is contained in:
parent
6c68680581
commit
493fc7b864
1 changed files with 4 additions and 0 deletions
|
@ -32,6 +32,10 @@ fn properties_list_json() {
|
||||||
|
|
||||||
#[cfg(windows)]
|
#[cfg(windows)]
|
||||||
fn find_python() -> String {
|
fn find_python() -> String {
|
||||||
|
if Command::new("python2.7.exe").arg("--version").output().is_ok() {
|
||||||
|
return "python2.7.exe".to_owned();
|
||||||
|
}
|
||||||
|
|
||||||
if Command::new("python27.exe").arg("--version").output().is_ok() {
|
if Command::new("python27.exe").arg("--version").output().is_ok() {
|
||||||
return "python27.exe".to_owned();
|
return "python27.exe".to_owned();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue