Better loading of nested settings
-Improved loading of settings including warning of missing and/or invalid settings and the ability to load the explorer using defaults without a settings.json file
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "\$theme-name: \"$(./node_modules/.bin/strip-json-comments settings.json | ./node_modules/.bin/json shared_pages.theme)\";" > ./public/css/_theme-selector.scss
|
||||
if [ -f ./settings.json ]; then
|
||||
echo "\$theme-name: \"$(./node_modules/.bin/strip-json-comments settings.json | ./node_modules/.bin/json shared_pages.theme)\";" > ./public/css/_theme-selector.scss
|
||||
else
|
||||
echo "\$theme-name: \"Exor\";" > ./public/css/_theme-selector.scss
|
||||
fi
|
||||
Reference in New Issue
Block a user