bot4dofus / Datafus

📚🥚 The Dofus database and socket events in JSON files. Includes the source code and more...
https://discord.gg/kNHsFcbUGp
MIT License
50 stars 13 forks source link

[Job U] Create a script to automaticaly install/update Dofus #22

Closed LucBerge closed 1 year ago

LucBerge commented 2 years ago

Create a script to automatically install/update Dofus. This script will be called from the "Job U" (Update) which is run before Job A, B and C. It will be automaticaly triggered when a Dofus version is realesed.

Tools to do it:

Host the github runner with https://github.com/actions/runner

LucBerge commented 1 year ago

The script should also get i18n files for each language.

LucBerge commented 1 year ago
.\UiRobot.exe -pack "c:\Path\To\project.json" -o "C:\Output\Directory" -v "1.0.0" --input "{'inArg' : 'value' , 'Integer' : 3}"

To create a .nupkg file.

.\UiRobot.exe -file "C:\Path\To\project.nupkg" -input "{'d2i_folder': '...', 'd2o_folder':'...'}"

To execute it

LucBerge commented 1 year ago

Run the ps1 script with

.\src\U1\U1.ps1 .\src\U1\project.json .\src\U1\tmp\swf .\src\U1\tmp\d2o .\src\U1\tmp\d2i
LucBerge commented 1 year ago

Closed via #39