refactor(updater_shim): finish porting to nu

Signed-off-by: zontreck <tarapiccari@gmail.com>
This commit is contained in:
zontreck 2024-10-05 01:53:58 -07:00
parent 2c25a43ba2
commit 737045ecf7
4 changed files with 51 additions and 14 deletions

View file

@ -1,6 +1,7 @@
integer LINK_SIGNAL_SETTINGS = 0904241;
integer LINK_SIGNAL_REBOOT = 0904242;
integer LINK_SIGNAL_CALLBACKS = 0904243;
integer LINK_SIGNAL_UPDATE = 0905241;
string OP_SETTINGS_WRITE = "1";
@ -17,6 +18,9 @@ string OP_CALLBACK_CHK_STATUS = "3";
string OP_CALLBACK_READY = "4";
string OP_CALLBACK = "5";
string OP_UPDATE_START = "1";
string OP_UPDATE_DONE = "2";
string EMPTY_JSON = "{}";
@ -36,4 +40,5 @@ integer g_iClientPin;
integer g_iUpdateRunning;
integer g_iCurrentBundle;
integer g_iServerListener;
integer g_iUpdateHasStarted;
integer g_iUpdateHasStarted;
key g_kSession;