[nostalgia] Update for compatibility with Ox changes

This commit is contained in:
2022-02-12 14:32:10 -06:00
parent 610dc2ceca
commit 34221f086c
4 changed files with 16 additions and 12 deletions

View File

@@ -21,16 +21,16 @@ namespace nostalgia::studio {
constexpr auto ConfigDir = [] {
switch (ox::defines::OS) {
case ox::defines::OS::Darwin:
case ox::OS::Darwin:
return "{}/Library/Preferences/{}";
case ox::defines::OS::DragonFlyBSD:
case ox::defines::OS::FreeBSD:
case ox::defines::OS::Linux:
case ox::defines::OS::NetBSD:
case ox::defines::OS::OpenBSD:
case ox::OS::DragonFlyBSD:
case ox::OS::FreeBSD:
case ox::OS::Linux:
case ox::OS::NetBSD:
case ox::OS::OpenBSD:
return "{}/.config/{}";
case ox::defines::OS::BareMetal:
case ox::defines::OS::Windows:
case ox::OS::BareMetal:
case ox::OS::Windows:
return "";
}
}();