Skip to content

Commit e530a8a

Browse files
Completely silence normal unsigned builds
Users normally won't be signing their apps. In this case a message like "Not signing binaries" would make them worry over nothing. Silence it. Users who do care about signing will still get the Signing binaries and other output.
1 parent 5b2a882 commit e530a8a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tools/signing.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@ def main():
3333
val +="\n};\n"
3434
sys.stderr.write("Enabling binary signing\n")
3535
except:
36-
sys.stderr.write("Not enabling binary signing\n")
36+
# Silence the default case to avoid people thinking something is wrong.
37+
# Only people who care about signing will know what it means, anyway,
38+
# and they can check for the positive acknowledgement above.
39+
# sys.stderr.write("Not enabling binary signing\n")
3740
val += "#define ARDUINO_SIGNING 0\n"
3841
with open(args.out, "w") as f:
3942
f.write(val)

0 commit comments

Comments
 (0)