purrforce/systray.c

23 lines
401 B
C

#include <stdio.h>
#include "tray/tray.h"
#include "api.h"
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);
}