Skip to content
This repository was archived by the owner on Dec 20, 2024. It is now read-only.

Commit 24a59ea

Browse files
deepkrgitsaky
andauthored
Create idebackup script & Updated ReadMe (#7)
* Create idebackup script & Updated ReadMe * Update README.md * Delete idebackup It is preferable to implement the backup logic in the IDE itself. Co-authored-by: Akash Yadav <itsaky01@gmail.com>
1 parent 0e5222a commit 24a59ea

2 files changed

Lines changed: 5 additions & 13 deletions

File tree

README.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ AndroidIDE build tools installer
77
This script helps you easily install build tools in AndroidIDE.
88
99
Usage:
10-
./idesetup -s 33.0.1 -c -j 17
10+
idesetup -s 33.0.1 -c -j 17
1111
This will install Android SDK 33.0.1 with command line tools and JDK 17.
1212
1313
Options :
@@ -27,16 +27,8 @@ For testing purposes:
2727

2828
## Installing in AndroidIDE
2929
- Open the AndroidIDE terminal.
30-
- Get the installation script with :
31-
```bash
32-
wget https://raw.githubusercontent.com/AndroidIDEOfficial/androidide-build-tools/main/scripts/idesetup
33-
```
34-
- Give executable permissions to the installation script with:
35-
```bash
36-
chmod +x ./idesetup
37-
```
38-
- Start the installation process by executing the script with : `./idesetup`
39-
- After you execute the script, it'll show a summary of the configuration. Type `y` to confirm the configuration and start the installation process.
30+
- Start the installation process by executing : `idesetup -c`
31+
- After you execute the command, it'll show a summary of the configuration. Type `y` to confirm the configuration and start the installation process.
4032

4133
Once the installation is finished, the `ide-environment.properties` file will also be updated. If the file already exists, you'll be asked to confirm if you want to rewrite the properties file.
4234

scripts/idesetup

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ echo "SDK version : ${sdkver_org}"
176176
echo "JDK version : ${jdk_version}"
177177
echo "With command line tools : ${with_cmdline}"
178178
echo "------------------------------------------"
179-
printf "Confirm configuration ([y]es/n[o]): "
179+
printf "Confirm configuration ([y]es/[n]o): "
180180
read correct
181181

182182
if ! [[ $correct =~ $yes ]]; then
@@ -274,5 +274,5 @@ else
274274
fi
275275
fi
276276

277-
rm -vf $0 $downloaded_manifest
277+
rm -vf $downloaded_manifest
278278
print_success "Downloads completed. You are ready to go!"

0 commit comments

Comments
 (0)