Skip to content

Commit de28868

Browse files
committed
yknow i should've added this a long ass time ago
1 parent 0b5b6c6 commit de28868

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ bool originalOverrideWasEmpty = false;
1313
$on_mod(Loaded) {
1414
(void) Mod::get()->registerCustomSettingType("configdir", &MyButtonSettingV3::parse);
1515
songManager.setConstantShuffleMode();
16+
if (!std::filesystem::exists(configDir / "playlistOne.txt")) Utils::writeToFile("# This file was generated automatically as it hadn't existed previously.", configDir / "playlistOne.txt");
17+
if (!std::filesystem::exists(configDir / "playlistTwo.txt")) Utils::writeToFile("# This file was generated automatically as it hadn't existed previously.", configDir / "playlistTwo.txt");
18+
if (!std::filesystem::exists(configDir / "playlistThree.txt")) Utils::writeToFile("# This file was generated automatically as it hadn't existed previously.", configDir / "playlistThree.txt");
1619

1720
auto blacklistTxt = configDir / R"(blacklist.txt)";
1821
if (!std::filesystem::exists(blacklistTxt)) {

0 commit comments

Comments
 (0)