diff --git a/js/pamela-buttons.js b/js/pamela-buttons.js index 95925bb..8ac88ac 100644 --- a/js/pamela-buttons.js +++ b/js/pamela-buttons.js @@ -108,7 +108,7 @@ DownloadScriptButton.prototype.draw = function() { }; DownloadScriptButton.prototype.execute = function() { - location.href = 'pamela-scanner.sh'; + location.href = config.scannerDownloadLink; }; // Class IFace buttons diff --git a/js/pamela-conf.php b/js/pamela-conf.php index 48f7efe..1448e00 100644 --- a/js/pamela-conf.php +++ b/js/pamela-conf.php @@ -7,4 +7,5 @@ config = new function() { this.image = ""; this.buttonColor = ""; this.buttonShow = ; + this.scannerDownloadLink = ""; } diff --git a/scanner/pamela-scanner.sh b/scanner/pamela-scanner.sh old mode 100755 new mode 100644