We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The script "customize-app" is a .sh Script, that does not run on Windows. Could you provide a Windows Script as well?
Thanks Maik
The text was updated successfully, but these errors were encountered:
This worked for me using Git Bash on Windows: #!/bin/bash
if [ $# -ne 2 ] then echo "This script requires exactly 2 arguments: brand_name followed by app_name" echo "For example: ./customize-app.sh Geometrixx ShapesCon" exit 1 fi
find . -depth -type d -name brand_name_placeholder -execdir mv {} $1 ; find . -depth -type d -name app_name_placeholder -execdir mv {} $2 ; find . -depth -type d -name app_name_placeholder-dev -execdir mv {} $2-dev ;
find . -depth -type f ( -name '.xml' -o -name '.jsp' -o -name index.html -o -name config.json ) -exec sed -i s/brand_name_placeholder/$1/g {} ; find . -depth -type f ( -name '.xml' -o -name '.jsp' -o -name index.html -o -name config.json ) -exec sed -i s/app_name_placeholder/$2/g {} ;
echo "Finished customizing app with $1 brand name and $2 app name."
Sorry, something went wrong.
No branches or pull requests
The script "customize-app" is a .sh Script, that does not run on Windows. Could you provide a Windows Script as well?
Thanks
Maik
The text was updated successfully, but these errors were encountered: