Support spaces in pwd

This commit is contained in:
TrainDoctor 2024-02-04 17:51:53 -08:00
parent 8f6c61207f
commit 498ca9b13d
No known key found for this signature in database
GPG key ID: FFABB0E08B5CEDD9

6
.vscode/setup.sh vendored
View file

@ -40,9 +40,9 @@ if ! test -f "$CLI_INSTALLED"; then
if [[ "$run_cli_script" =~ "n" ]]; then if [[ "$run_cli_script" =~ "n" ]]; then
echo "You have chosen to not install the Decky CLI tool to build your plugins. Please install this tool to build and test your plugin before submitting it to the Plugin Database." echo "You have chosen to not install the Decky CLI tool to build your plugins. Please install this tool to build and test your plugin before submitting it to the Plugin Database."
else else
mkdir $(pwd)/cli mkdir "$(pwd)"/cli
curl -L -o $(pwd)/cli/decky "https://github.com/SteamDeckHomebrew/cli/releases/latest/download/decky" curl -L -o "$(pwd)"/cli/decky "https://github.com/SteamDeckHomebrew/cli/releases/latest/download/decky"
chmod +x $(pwd)/cli/decky chmod +x "$(pwd)"/cli/decky
echo "Decky CLI tool is now installed and you can build plugins into easy zip files using the "Build Zip" Task in vscodium." echo "Decky CLI tool is now installed and you can build plugins into easy zip files using the "Build Zip" Task in vscodium."
fi fi
fi fi