mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-30 01:27:24 -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
|
@ -367,7 +367,11 @@ void SystemStatusView::on_bias_tee() {
|
|||
}*/
|
||||
|
||||
void SystemStatusView::on_camera() {
|
||||
auto path = next_filename_stem_matching_pattern(u"SCR_????");
|
||||
|
||||
std::string folder = "SCREENSHOTS";
|
||||
make_new_directory(folder);
|
||||
|
||||
auto path = next_filename_stem_matching_pattern(u"SCREENSHOTS/SCR_????");
|
||||
if( path.empty() ) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue