download: add warning message for macOS users to unquarantine the binary (#249)

This commit is contained in:
Mohammed Al Sahaf 2022-07-21 20:40:45 +03:00 committed by GitHub
parent bb37b39a0e
commit 47f2e155bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 1 deletions

View file

@ -62,6 +62,10 @@ body {
background: #333;
}
#darwin-warning {
display: none;
}
input:disabled,
select:disabled,
#optional-packages.disabled {

View file

@ -245,7 +245,7 @@ function getDownloadLink() {
qs.append("p", p);
});
$("#darwin-warning").toggle(os === "darwin");
var idempotencyKey = Math.floor(Math.random() * 99999999999999);
qs.append("idempotency", idempotencyKey);