fix(code-server): write settings to User (#123)
This commit is contained in:
committed by
GitHub
parent
5b2f3bd599
commit
5b3edd9bbd
@@ -39,10 +39,10 @@ for extension in "$${EXTENSIONLIST[@]}"; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Check if the settings file exists...
|
# Check if the settings file exists...
|
||||||
if [ ! -f ~/.local/share/code-server/Machine/settings.json ]; then
|
if [ ! -f ~/.local/share/code-server/User/settings.json ]; then
|
||||||
echo "⚙️ Creating settings file..."
|
echo "⚙️ Creating settings file..."
|
||||||
mkdir -p ~/.local/share/code-server/Machine
|
mkdir -p ~/.local/share/code-server/User
|
||||||
echo "${SETTINGS}" > ~/.local/share/code-server/Machine/settings.json
|
echo "${SETTINGS}" > ~/.local/share/code-server/User/settings.json
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "👷 Running code-server in the background..."
|
echo "👷 Running code-server in the background..."
|
||||||
|
|||||||
Reference in New Issue
Block a user