hadeutscher / OvercookedTool

Overcooked 2 savegame conversion tool
45 stars 8 forks source link

feat: added support for drop file on executable #2

Closed ahmed-dardery closed 3 years ago

ahmed-dardery commented 3 years ago

If one argument is passed in (or a file is dropped on the exe) the app will deduce from its extension the needed conversion (json -> encrypt, save -> decrypt) and the app will then request a userId from the user to proceed. This simplifies the usage of the app.

I have also added a usage message to be shown when invalid arguments are passed.

PS: this probably could be written a little better, or handled using another method (potentially allowing an decrypt-encrypt directly), but it's 2 AM and this is a fine tool as it is right now.

hadeutscher commented 3 years ago

thanks :+1: