Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
Janderson Souza Matias authored and Janderson Souza Matias committed Jan 10, 2024
1 parent 8527b39 commit 5bb43d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "coachappsl",
"version": "1.4.1",
"version": "1.4.2",
"private": true,
"scripts": {
"android": "react-native run-android",
Expand Down
13 changes: 2 additions & 11 deletions scripts/switch-to-nepal.sh
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
#!/bin/bash

# Navega até o diretório do projeto Android
cd android/app/src/main

# Renomeia a pasta 'res' para 'res-sl'
if [ -d "res" ]; then
mv res res-sl
rm -rf res
fi

# Renomeia a pasta 'res-nepal' para 'res'
if [ -d "res-nepal" ]; then
mv res-nepal res
fi

# Navega para o diretório raiz do projeto Android
cd ../..

echo "Diretório atual:"
Expand All @@ -22,8 +16,5 @@ pwd
echo "Listando arquivos no diretório atual:"
ls -l

# Substitui a string no arquivo build.gradle
# Utiliza o comando sed para a substituição
sed -i "s/applicationId 'com.coachappsl'/applicationId 'com.coachappnp'/" build.gradle

sed -i '' "s/applicationId 'com.coachappsl'/applicationId 'com.coachappnp'/" build.gradle

0 comments on commit 5bb43d7

Please sign in to comment.