jacobpalm/costa

DESKLINK.DAT is not created if missing

jacobpalm opened this issue · 2 comments

If DESKLINK.DAT is missing, it should be created automatically with the default icons for built-in apps, since there is no way to add these from within the UI.

Possible solution:

  • Get the data of the current standard icons in DESKLINK.DAT.

  • Make a SUB that resets the icon arrays, then adds the standard elements to the array. At the end of the SUB, call the SaveLink SUB. Make sure DESKLINK.DAT will be deleted - if this is not already in SaveLink, do it in the new SUB before SaveLink is called.

  • The LoadLink SUB already checks for errors. Simply call the new SUB when errors are found.

Implemented in commit d5b8672