49 |
49 |
50 g_app = &app; |
50 g_app = &app; |
51 LDFile::setCurrent (null); |
51 LDFile::setCurrent (null); |
52 |
52 |
53 // Load or create the configuration |
53 // Load or create the configuration |
54 if (!config::load()) { |
54 if (!Config::load()) { |
55 print ("Creating configuration file...\n"); |
55 print ("Creating configuration file...\n"); |
56 if (config::save()) |
56 if (Config::save()) |
57 print ("Configuration file successfully created.\n"); |
57 print ("Configuration file successfully created.\n"); |
58 else |
58 else |
59 print ("failed to create configuration file!\n"); |
59 print ("failed to create configuration file!\n"); |
60 } |
60 } |
61 |
61 |