Browse Source

Update local build script

Kevin Lee 3 years ago
parent
commit
bf6a6f9050
1 changed files with 3 additions and 1 deletions
  1. 3 1
      LocalBuild.sh

+ 3 - 1
LocalBuild.sh

@@ -1,3 +1,5 @@
 #!/bin/bash
 
-./PF-build.sh -v 1_75mm_MK3S-EINSy10a-E3Dv6full.h -l EN_ONLY -d GOLD && find ../PF-build-hex/ -name "*.hex" | xargs mv -t /mnt/c/Users/Kevin/Desktop/
+export OS="Linux" export JAVA_TOOL_OPTIONS="-Djava.net.preferIPv4Stack=true" export GPG_TTY=$(tty)
+
+./PF-build.sh -v 1_75mm_MK3S-EINSy10a-E3Dv6full.h -l EN_ONLY -d GOLD && find ../PF-build-hex/ -name "*.hex" -exec cp {} /mnt/c/Users/Kevin/Desktop/ \; -exec rm {} \;