purrforce/systray.c

23 lines
401 B
C
Raw Normal View History

2024-03-26 06:31:37 +00:00
#include <stdio.h>
2024-03-26 01:25:53 +00:00
#include "tray/tray.h"
#include "api.h"
2024-03-26 06:31:37 +00:00
void systray_initialscan(void){
FILE *cfg;
if(!path_exists(get_app_dir())){
/*--create directory--*/
make_dir(get_app_dir());
}
/*--load list of tracked files--*/
cfg = fopen(get_config_file_path(),"rb");
if(!cfg) {
perror(get_config_file_path());
return;
}
fclose(cfg);
}