SunResearchInstitute / SwitchPresence-Rewritten

Nintendo Switch sysmodule server for PresenceClient!
https://link.sunthecourier.net/switchpresence
GNU General Public License v2.0
126 stars 15 forks source link

Default To MAC Configuration #29

Closed Azure-Agst closed 4 years ago

Azure-Agst commented 4 years ago

First off, this is my first project messing with C# (I usually mess with C/C++) so please lmk if any code here is wonky or atypical and I'll change it.

This is hopefully the first PR of many as I really enjoy the idea behind this project and would love to help expand it further. The point of this PR was to pivot towards using MAC addresses as the default connection method.

gabehxd commented 4 years ago

Thanks for the PR, would you mind checking if older config files migrate correctly and don't get wiped from the new variables.

Azure-Agst commented 4 years ago

Using the code from your commit, it seems to load an "old" config file just fine, and overwrites with the new variables upon close as expected.

gabehxd commented 4 years ago

Looks all good to me