Skip to content

Commit

Permalink
create user dirs on start
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown321 committed Jan 19, 2025
1 parent 1d404dc commit 2e18dcb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,14 @@ int main(int, char **) {
auto events = []() { glfwPollEvents(); };
std::thread f(events);
f.detach();

mkpath("/contents/wampy/skins/cassette", 0777);
mkpath("/contents/wampy/skins/winamp/", 0777);
mkpath("/contents/wampy/skins/cassette/reel/", 0777);
mkpath("/contents/wampy/skins/cassette/tape/", 0777);
mkpath("/contents/wampy/sound_settings/master_volume_dsd/", 0777);
mkpath("/contents/wampy/sound_settings/master_volume/", 0777);
mkpath("/contents/wampy/sound_settings/tone_control/", 0777);
#endif

int display_w, display_h;
Expand Down

0 comments on commit 2e18dcb

Please sign in to comment.