mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-20 16:49:26 +00:00
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:
6
scripts/update_plugin_repository.sh
Executable file
6
scripts/update_plugin_repository.sh
Executable 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}"
|
||||
Reference in New Issue
Block a user