Well, I didn't tried it myself but first you must install 7-Zip if you don't have it and this plugin
You must be registered to see the links
. Then you open the files app.asar inside the "resources" folder. Then you should try open it up inside or outside 7-Zip to edit it (I suggest you use something like notepad++) or just use any text editor but use the search function to navigate the code, you should look for this "uid:"UNITDATA_PLAYER". Finally, expirement with lines of code look others units code and just copy and paste some lines and remember to save the file inside the app.asar again when you finish.