Closed DevilPepper closed 3 years ago
this job passes on my fork whenever the fork sync job opens a PR.: https://github.com/ForksKnivesAndSpoons/HunterPie/actions/runs/714085814
I have seen the nuget restore step fail before, but I can't figure out why. Could be that NuGet was down briefly ¯\_(ツ)_/¯. Try re-running the job and it'll probably pass. I don't think I can re-run it.
Before moving these methods here, I made them extension methods for Main: https://github.com/Stuff-Mods/MHWItemBoxTracker/blob/settings/ItemBoxTracker/MainExtension.cs
The compiler complains that await can only be used in an async function... So I get around it like this:
https://github.com/Stuff-Mods/MHWItemBoxTracker/blob/e5859683a1d85d14a904ee5068e55dc3425f7efb/ItemBoxTracker/Main.cs#L32-L36
https://github.com/Stuff-Mods/MHWItemBoxTracker/blob/e5859683a1d85d14a904ee5068e55dc3425f7efb/ItemBoxTracker/GUI/ItemBoxTracker.xaml.cs#L26-L32
Here's some logs I put around save and load for widget settings: