Merge pull request #31 from whoamikyo/master

Doc: Update How_to_update.md
This commit is contained in:
LmeSzinc 2020-06-12 15:38:48 +08:00 committed by GitHub
commit 24a00f095e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 22 additions and 0 deletions

View File

@ -1,5 +1,6 @@
# How to use updater.bat
* This only will work if you have download the repository with GIT, if you downloaded the .zip you will have to delete the folder and download it again through GIT, see step 2.
* [Download and install the last GIT version](https://git-scm.com/download/win)
* Open the file `updater.bat` with any text editor
* Change the `C:\Program Files\Git\cmd` for the path that you are installed, you don't usually need to change it, but make sure it is installed in the same path as it is in the file.
@ -7,3 +8,17 @@
![](how_to_update.assets/git.png)
* In `updater.bat` we have 2 source options, most of the time there will be no difference between them, if in doubt, choose option 1.
# How to Download repository through GIT
* Like above, you need GIT installed and make sure it is installed in the same path as it is in the file `downloader.bat`.
* If you already download `AzurLaneAutoScript-master.zip`, just extract and double-click in `downloader.bat`, then the repository will be cloned again, but now the .git folder will be created.
* If you haven't downloaded the .zip, just download the `downloader.bat` file, created a folder where you want ALAS to be downloaded, put `downloader.bat` inside that folder and click.
If you do it right, you will have a similar result, so only what has been changed will be downloaded again.
![](how_to_update.assets/update.png)
# DO NOT ADD FILES MANUALLY INSIDE THE ALAS FOLDER, THIS WILL CAUSE CONFLICTS AND YOU WILL HAVE TO DOWNLOAD EVERYTHING AGAIN.

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

7
downloader.bat Normal file
View File

@ -0,0 +1,7 @@
@ECHO off
set PATH=%PATH%;C:\Program Files\Git\cmd
cls
git clone https://github.com/LmeSzinc/AzurLaneAutoScript.git
pause