Added setup to store a copy of the plugin.json inside Macpass and use that as fallback as well as if the user denies access to remote systems

This commit is contained in:
Michael Starke
2019-06-25 12:59:51 +02:00
parent 8f5914afd2
commit e0d12bea5a
6 changed files with 105 additions and 33 deletions

View File

@@ -0,0 +1,6 @@
#!/bin/bash
URL="https://macpassapp.org/data/plugins.json"
MY_FOLDER="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
DOWNLOAD_FOLDER="${MY_FOLDER}/../MacPass/Resources/"
cd "${DOWNLOAD_FOLDER}"
wget "${URL}"