User Tools

Site Tools


rttk:deputy:update

Deputy Update

Deputy checks for updates every 8 hours. The check is only performed when the IDE is started.

To force an update check, remove this file: C:\Users\%USERNAME%\AppData\Roaming\RTTK\Downloads\deputyversion.json

To install the update, go to Tools –> SE Deputy –> Update Availalbe to #.#.#

After clicking that menu option, the text will change to notify you restart is pending

Implementation

Deputy downloads a json file to C:\Users\%USERNAME%\AppData\Roaming\RTTK\Downloads\deputyversion.json
Deputy calls a function in TOTAL which uses Kastri to read the version from the DLL.
I compare both of the version strings to determine if an update is needed.

When you select the update the current Deputy DLL, which is in use, is renamed to .bak and the new DLL is copied in.
The next restart of the IDE will load the new DLL.

rttk/deputy/update.txt · Last modified: 2022/04/02 00:17 by wikiadmin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki