Now the themes will be in yml format, these will be the source of truth and everything will be generated from them.

This commit is contained in:
Mgldvd 2023-02-26 19:20:45 -05:00
parent 0cf0a74757
commit 2df4586ed8
488 changed files with 4 additions and 4 deletions

View File

@ -284,14 +284,14 @@ set_gogh() {
string_r="${string%???}"
string_s=${string_r//\./_}
result=$(capitalize "${string_s}")
url="${BASE_URL}/themes/$1"
url="${BASE_URL}/installs/$1"
export {PROFILE_NAME,PROFILE_SLUG}="$result"
# Evaluate if Gogh was called from local source - i.e cloned repo
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
if [[ -e "${SCRIPT_PATH}/themes/$1" ]]; then
bash "${SCRIPT_PATH}/themes/$1"
if [[ -e "${SCRIPT_PATH}/installs/$1" ]]; then
bash "${SCRIPT_PATH}/installs/$1"
else
if [[ "$(uname)" = "Darwin" ]]; then
# OSX ships with curl

Some files were not shown because too many files have changed in this diff Show More