Merge branch 'master' into feature/maps-management

This commit is contained in:
MathieuG-P
2022-11-19 15:18:51 +01:00
15 changed files with 3136 additions and 2262 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ const isDebug = process.env.NODE_ENV === 'development' || process.env.DEBUG_PROD
log.transports.file.level = 'info';
log.transports.file.resolvePath = (() => {
const now = new Date();
return path.join(app.getPath("logs"), `${now.getFullYear()}-${now.getMonth()+1}-${now.getDate()}.log`);
return path.join(app.getPath("logs"), `${now.getFullYear()}-${now.getMonth()+1}-${now.getDate()}-v${app.getVersion()}.log`);
});
log.catchErrors();