diff --git a/package.json b/package.json index 63d5b7e..cb0a8cb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "game-mount-and-blade-ii-bannerlord-butr", - "version": "1.0.3", + "version": "1.0.4", "description": "A Vortex extension for Mount and Blade II: Bannerlord mod management.", "author": "BUTR Team & Nexus Mods", "license": "GPL-3.0+", diff --git a/src/index.ts b/src/index.ts index 075b6c2..1d7fa97 100644 --- a/src/index.ts +++ b/src/index.ts @@ -21,8 +21,11 @@ import { } from './utils'; import { SaveList, SavePageOptions, Settings } from './views'; import { IAddedFiles } from './types'; +import { version } from '../package.json'; const main = (context: types.IExtensionContext): boolean => { + log('info', `Extension Version: ${version}`); + const launcherManager = new VortexLauncherManager(context.api); // Register Settings diff --git a/tsconfig.json b/tsconfig.json index b4fffcb..b4be196 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -14,7 +14,7 @@ "declaration": false, "allowSyntheticDefaultImports": true, "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */, - "resolveJsonModule": false /* Include modules imported with .json extension. */, + "resolveJsonModule": true /* Include modules imported with .json extension. */, "removeComments": true, "preserveConstEnums": true,