jacobpalm / costa

The Costa Graphical User Interface for MS-DOS and compatible systems
https://costa.jacobpalm.dk/
MIT License
103 stars 7 forks source link

Deleting the last desktop link recreates default links #30

Closed jacobpalm closed 1 year ago

jacobpalm commented 2 years ago

Deleting the last desktop link recreates all default desktop links, as Costa apparently recognizes this as a corruption of the desktop link file.

jacobpalm commented 1 year ago

Resolved in 2d801cb.

New behaviour: If the desklnkX.dat file exists but contains no icons, or if the user manually deletes the last desktop link, Costa will ask if the user wants to recreate default links. If not, Costa will remember this choice and not ask again, allowing the user to have an empty desktop.

If the dsklnkX.dat file is not found, the default links will be recreated without prompt, but the user will be informed of this action.