Commit 3d8ff364 authored by Efthymia Bika's avatar Efthymia Bika Committed by Giorgos Korfiatis
Browse files

Display alert msg if gpg is not installed

parent 47a56145
......@@ -17,6 +17,19 @@ along with this program. If not, see <>.
<script src="backup.js"></script>
<script type="text/javascript">
function check_gpg() {
exec("which gpg", function(error, stdout, stderr) {
if(error) {
} else {
if(process.platform != "win32") {
if(typeof clouds === 'undefined') {
load_data_from_file(CLOUDS_CONF_FILE, show_cloud_msg);
} else {
......@@ -131,6 +144,19 @@ along with this program. If not, see <>.
<div class="row">
<div class="small-12 columns panel alert hide" id="gpg-alert">
<i class="fa fa-exclamation-circle"></i>
BaaS uses <a href="#"
in order to encrypt your backups, though
no gpg installation was found on your system.
You must install gpg separately.
<div class="row">
<div class="small-12 columns panel hide" id="cloud-alert">
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment