File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed
agent/actions/logretrieval Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,8 @@ exports.collectFiles = (outputFile, cb) => {
7070 { path : ROTATED_PATH , name : 'prey.log.1.gz' } ,
7171 ...( os . platform ( ) === 'win32' ? [ // Only for windows add admin service logs
7272 { path : WINSVC_LOG , name : 'winsvc.log' } ,
73- { path : FENIX_LOG_PATH , name : 'fenix.log' } ,
73+ { path : paths . program_data , name : 'fenix.log' } ,
74+ // { path: FENIX_LOG_PATH, name: 'fenix.log' },
7475 { path : WINSVC_UPDATER , name : 'updater.log' } ,
7576 ] : [ ] ) ,
7677 ] ;
Original file line number Diff line number Diff line change 1- exports . bin = 'prey.cmd' ;
2- exports . config = process . env . WINDIR + '\\Prey' ; // __dirname + '/../../../'
3- exports . temp = process . env . WINDIR + '\\Temp' ;
4- exports . log = exports . config ;
5- exports . log_file = exports . log + '\\prey.log' ;
6- exports . log_restarts = exports . log + '\\prey_restarts.log' ;
1+ exports . bin = 'prey.cmd' ;
2+ exports . config = `${ process . env . WINDIR } \\Prey` ; // __dirname + '/../../../'
3+ exports . temp = `${ process . env . WINDIR } \\Temp` ;
4+ exports . program_data = `${ process . env . WINDIR } \\..\\ProgramData\\prey` ;
5+ exports . log = exports . config ;
6+ exports . log_file = `${ exports . log } \\prey.log` ;
7+ exports . log_restarts = `${ exports . log } \\prey_restarts.log` ;
You can’t perform that action at this time.
0 commit comments