From bf8b8dab39578efbb4495bac280443964593b2f7 Mon Sep 17 00:00:00 2001 From: FLSoz <65517812+FLSoz@users.noreply.github.com> Date: Sat, 9 Jul 2022 13:14:53 -0700 Subject: [PATCH] Fix app name --- package.json | 4 ++-- release/app/package.json | 4 ++-- src/main/main.ts | 2 +- src/renderer/components/collections/ModDetailsFooter.tsx | 5 ++++- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index e2250ae..2985c0c 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "name": "terratech-steam-mod-loader", - "productName": "ttsm", + "productName": "ttsmm", "description": "Mod loader for TerraTech that handles Steam Workshop mod configurations", - "version": "1.5.6", + "version": "1.6.0", "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 23ec343..3788c3b 100644 --- a/release/app/package.json +++ b/release/app/package.json @@ -1,8 +1,8 @@ { "name": "terratech-steam-mod-loader", - "productName": "ttsm", + "productName": "ttsmm", "description": "Mod loader for TerraTech that handles Steam Workshop mod configurations", - "version": "1.5.6", + "version": "1.6.0", "main": "./dist/main/main.js", "author": { "name": "FLSoz", diff --git a/src/main/main.ts b/src/main/main.ts index baae203..98d7b5f 100644 --- a/src/main/main.ts +++ b/src/main/main.ts @@ -122,7 +122,7 @@ const createWindow = async () => { }); mainWindow.webContents.on('did-finish-load', () => { - const name = 'TerraTech Steam Mod Loader'; + const name = 'TerraTech Steam Mod Manager'; log.info(`App Version: ${app.getVersion()}`); log.info(`App Name: ${app.getName()}`); const version = app.getVersion(); diff --git a/src/renderer/components/collections/ModDetailsFooter.tsx b/src/renderer/components/collections/ModDetailsFooter.tsx index 7b59f07..7f65b43 100644 --- a/src/renderer/components/collections/ModDetailsFooter.tsx +++ b/src/renderer/components/collections/ModDetailsFooter.tsx @@ -341,7 +341,7 @@ export default class ModDetailsFooter extends Component = config.ignoredValidationErrors; let errorType: ModErrorType | undefined; @@ -364,6 +364,7 @@ export default class ModDetailsFooter extends Component { + updateState({}); validateCollection(); api.updateConfig(config as AppConfig).catch((error) => { api.logger.error(error); @@ -421,6 +422,8 @@ export default class ModDetailsFooter extends Component