jpcima / fmcomposer

Music and sound creation tool, featuring an FM synthesizer and a tracker-like interface
GNU General Public License v3.0
4 stars 0 forks source link

Can't load config.ini #2

Closed rambit closed 4 years ago

rambit commented 4 years ago

Config doesn't seem to load or save on Linux.

A quick fix was to remove pathSeparator from configEditor.cpp but probably not a cross platform solution.

Also globalFunctions.cpp cannot mkdir because it has a ~. It worked when replaced with /home/user

I also tried to do this to check if it exists:

if (0 != mkdir(appconfigdir.c_str(),0733)) {
  perror("mkdir");
}
jpcima commented 4 years ago

fixed in 5fdccec225d902bff2a1b0d47620c8f7e38a969e