Skip to content

Commit 9756dc7

Browse files
authored
Merge pull request #5 from maximecaron/patch-1
fix calling cargo when rust just got installed
2 parents 1d0425f + 79cc975 commit 9756dc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup_maschine.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def set_up_maschine():
2424
subprocess.run("git clone https://github.com/Mylab6/maschine.rs", shell=True, check=True)
2525
except:
2626
pass
27-
subprocess.run("cargo build --release", shell=True, check=True, cwd = get_local_file_path("maschine.rs") )
27+
subprocess.run("$HOME/.cargo/bin/cargo build --release", shell=True, check=True, cwd = get_local_file_path("maschine.rs") )
2828
#old_file_location = os.path.join( get_local_file_path("maschine.rs"),"maschine_files")
2929

3030

0 commit comments

Comments
 (0)