From 5d1d6e3140e36abfb4e8a50c5a05404219c5937d Mon Sep 17 00:00:00 2001 From: Vitalii Mikhailov Date: Sat, 25 May 2024 18:50:11 +0300 Subject: [PATCH 1/5] Update publish.yml --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6598074..607ef54 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -81,4 +81,4 @@ jobs: artifact_name: game-mount-and-blade2 secrets: NEXUSMODS_APIKEY: ${{ secrets.ARAGAS_NEXUSMODS_API_KEY }} - NEXUSMODS_COOKIES: ${{ secrets.ARAGAS_NEXUSMODS_COOKIE_SID_DEVELOP }} + NEXUSMOD_SESSION_COOKIE: ${{ secrets.ARAGAS_NEXUSMOD_SESSION_COOKIE }} From e3c83d233ef8117a8cfe576e15dbed7d40de0817 Mon Sep 17 00:00:00 2001 From: Vitalii Mikhailov Date: Sun, 26 May 2024 01:54:45 +0300 Subject: [PATCH 2/5] Added a possible bugfix for https://github.com/Nexus-Mods/Vortex/issues/15699 --- src/utils/vortexLauncherManager.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/utils/vortexLauncherManager.ts b/src/utils/vortexLauncherManager.ts index c3f97f3..9def50f 100644 --- a/src/utils/vortexLauncherManager.ts +++ b/src/utils/vortexLauncherManager.ts @@ -62,6 +62,9 @@ export class VortexLauncherManager { } const loadOrder = state.persistent.loadOrder[profileId] ?? []; + if (!Array.isArray(loadOrder)) { + return []; + } return loadOrder; }; From f2d5d1ecce6e636a906bfc62acdfd420915cb6eb Mon Sep 17 00:00:00 2001 From: Vitalii Mikhailov Date: Sun, 26 May 2024 01:55:10 +0300 Subject: [PATCH 3/5] Fixed env variable --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 607ef54..a2fe3be 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -81,4 +81,4 @@ jobs: artifact_name: game-mount-and-blade2 secrets: NEXUSMODS_APIKEY: ${{ secrets.ARAGAS_NEXUSMODS_API_KEY }} - NEXUSMOD_SESSION_COOKIE: ${{ secrets.ARAGAS_NEXUSMOD_SESSION_COOKIE }} + NEXUSMODS_SESSION_COOKIE: ${{ secrets.ARAGAS_NEXUSMODS_SESSION_COOKIE }} From 0110d0bc668b984dc71a65323fa33fde9ef81c32 Mon Sep 17 00:00:00 2001 From: Vitalii Mikhailov Date: Sun, 26 May 2024 01:55:36 +0300 Subject: [PATCH 4/5] Better published folder name, to avoid possible name collisions --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a2fe3be..a850c3f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -56,7 +56,7 @@ jobs: needs: [get-version, build-and-test] uses: BUTR/workflows/.github/workflows/release-github.yml@master with: - mod_id: Vortex-Extension + mod_id: game-mount-and-blade2 mod_version: ${{ needs.get-version.outputs.version }} mod_description: | Download and install using the Extensions panel in Vortex. @@ -73,7 +73,7 @@ jobs: with: nexusmods_game_id: site nexusmods_mod_id: 875 - mod_filename: 'Vortex Extension' + mod_filename: game-mount-and-blade2 mod_version: ${{ needs.get-version.outputs.version }} mod_description: | Download and install using the Extensions panel in Vortex. From a378c8d2b6772e8655f7f5fbe6f7e35e061d8bef Mon Sep 17 00:00:00 2001 From: Vitalii Mikhailov Date: Tue, 28 May 2024 10:46:52 +0300 Subject: [PATCH 5/5] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0fd6448..e35ba3d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "game-mount-and-blade-ii-bannerlord-butr", - "version": "1.0.0", + "version": "1.0.1", "description": "A Vortex extension for Mount and Blade II: Bannerlord mod management.", "author": "BUTR Team & Nexus Mods", "license": "GPL-3.0+",