diff --git a/package.json b/package.json index 5b3f87c..5d8d75a 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "terratech-steam-mod-loader", "productName": "ttsm", "description": "Mod loader for TerraTech that handles Steam Workshop mod configurations", - "version": "1.3.3", + "version": "1.3.4", "scripts": { "build": "concurrently \"npm run build:main\" \"npm run build:renderer\"", "build:main": "cross-env NODE_ENV=production TS_NODE_TRANSPILE_ONLY=true webpack --config ./.erb/configs/webpack.config.main.prod.ts", diff --git a/release/app/package.json b/release/app/package.json index 678805a..babce94 100644 --- a/release/app/package.json +++ b/release/app/package.json @@ -2,7 +2,7 @@ "name": "terratech-steam-mod-loader", "productName": "ttsm", "description": "Mod loader for TerraTech that handles Steam Workshop mod configurations", - "version": "1.3.3", + "version": "1.3.4", "main": "./dist/main/main.js", "author": { "name": "FLSoz", diff --git a/src/main/main.ts b/src/main/main.ts index febb696..cb76d30 100644 --- a/src/main/main.ts +++ b/src/main/main.ts @@ -29,7 +29,7 @@ const isDevelopment = process.env.NODE_ENV === 'development' || process.env.DEBU export default class AppUpdater { constructor() { - log.transports.file.level = isDevelopment ? 'debug' : 'warn'; + log.transports.file.level = isDevelopment ? 'debug' : 'info'; autoUpdater.logger = log; autoUpdater.checkForUpdatesAndNotify(); } @@ -711,11 +711,11 @@ interface ProcessDetails { ipcMain.on('game-running', async (event) => { let running = false; await psList().then((processes: ProcessDetails[]) => { - const matches = processes.filter((process) => /[Tt]erra[Tt]ech(?!.*mod.*manager)/.test(process.name)); + const matches = processes.filter((process) => /[Tt]erra[Tt]ech(?!.*mod)/.test(process.name)); running = matches.length > 0; if (running) { - log.info('Detected TT is running. Currently running processes:'); - log.info(matches); + log.warn('Detected TT is running. Currently running processes:'); + log.warn(matches); } event.reply('game-running', running); return running;