mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-27 08:10:42 -04:00
specific directory for screens and logs (#971)
* Changed to LOGS directory, creating if not existing. Adjusted to upper case. * Changed to SCREENSHOTS directory, creating if not existing
This commit is contained in:
parent
8cae998146
commit
bc1ad5598c
10 changed files with 35 additions and 12 deletions
|
@ -397,9 +397,11 @@ AISAppView::AISAppView(NavigationView& nav) : nav_ { nav } {
|
|||
this->on_show_list();
|
||||
};
|
||||
|
||||
std::string folder = "LOGS";
|
||||
make_new_directory(folder);
|
||||
logger = std::make_unique<AISLogger>();
|
||||
if( logger ) {
|
||||
logger->append(u"ais.txt");
|
||||
logger->append(u"LOGS/AIS.TXT");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue