macOS support added

Firmware-Binaries
ThomasToka 4 months ago committed by GitHub
parent c80dbb8611
commit 472309a4cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -148,5 +148,7 @@ if __name__ == "__main__":
if len(sys.argv) < 2:
print("Usage: python3 script.py <gcode-file>")
sys.exit(1)
main(sys.argv[1])
if platform.system() == "Darwin":
main(source_file)
else:
main(sys.argv[1])

Loading…
Cancel
Save