mirror of
https://github.com/arduino/Arduino.git
synced 2024-11-29 10:24:12 +01:00
Add the copy the sig to the destination file when the skip verification is true
This commit is contained in:
parent
df5a52407e
commit
76852465d2
@ -215,6 +215,7 @@ public class DownloadableContributionsDownloader {
|
||||
download(signatureUrl, packageIndexSignatureTemp, progress, statusText, progressListener, true);
|
||||
|
||||
if (skipVerification) {
|
||||
Files.move(packageIndexSignatureTemp.toPath(), packageIndexSignature.toPath(), StandardCopyOption.REPLACE_EXISTING);
|
||||
log.info("Allowing insecure packages because allow_insecure_packages is set to true in preferences.txt" +
|
||||
" but the signature was download");
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user