Fix script bug
This commit is contained in:
parent
c92a4e648c
commit
868b8dcb64
20
fix.sh
20
fix.sh
|
@ -11,18 +11,16 @@ fix() {
|
||||||
yarn build:production
|
yarn build:production
|
||||||
}
|
}
|
||||||
|
|
||||||
fixThemeQuestion(){
|
|
||||||
while true; do
|
|
||||||
read -p "Are you sure that you want to fix the theme [y/N]? " yn
|
|
||||||
case $yn in
|
|
||||||
[Yy]* ) fix; break;;
|
|
||||||
[Nn]* ) exit;;
|
|
||||||
* ) exit;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
echo "Welcome to the IceMinecraftTheme fixer!"
|
echo "Welcome to the IceMinecraftTheme fixer!"
|
||||||
echo "This script will fix the theme if you have an problem with it."
|
echo "This script will fix the theme if you have an problem with it."
|
||||||
echo "If you have any problem with the theme, please contact me on Discord: https://discord.nookure.com/"
|
echo "If you have any problem with the theme, please contact me on Discord: https://discord.nookure.com/"
|
||||||
fixThemeQuestion()
|
|
||||||
|
while true; do
|
||||||
|
read -p "Are you sure [y/N]? " yn
|
||||||
|
case $yn in
|
||||||
|
[Yy]* ) fix; break;;
|
||||||
|
[Nn]* ) exit;;
|
||||||
|
* ) exit;;
|
||||||
|
esac
|
||||||
|
done
|
Loading…
Reference in New Issue