1.6 KiB
1.6 KiB
The AzerothCore Version Updater for Database Squashes
Caution
These steps are only for project maintainers who intend to update base files.
Description of the tool
This tool updates the version in DB and acore.json automatically. Hence, it must run from this directory.
This is how it works step-by-step:
- Check that all paths look correct.
- Accept to continue using the tool.
- The tool will update the acore.json file and increment it by 1.
- The tool will create a file with the proper UPDATE for world database in
..\..\data\sql\updates\db_world
.
Run the tool
Important
This tool CAN NOT be moved outside this directory. If you do it will create files in the wrong places.
-
If you haven't run PowerShell scripts before, you'll need to adjust the execution policy.
- Open PowerShell as an Administrator.
- Run the following command to allow running scripts:
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
- This allows scripts to run on your system, but they need to be locally created or downloaded from trusted sources.
-
Open PowerShell (PS)
- Press Win + X and select Windows PowerShell (Admin) / Terminal (Admin)
-
Navigate to the script
- In PS, use the
cd
command to change the directory
cd "C:\AzerothCore\apps\VersionUpdater"
- In PS, use the
-
Run the script
- In PS, run the script
.\VersionUpdater.ps1
-
Follow the instructions given by the tool.
-
Now refer back to the database-squash.md instructions. (Located in ....\data\sql\base)
Completed :)