From 255c8397214f9134c6eb5f58e34eecaf3547a359 Mon Sep 17 00:00:00 2001 From: Shahovalov MIkhail Date: Tue, 7 Apr 2026 23:59:26 +0300 Subject: [PATCH] Rename mod folder to DnD 5.5e AIO Russian --- .gitea/workflows/build.yml | 8 ++++---- .../Localization/Russian/russian.xml | 0 Mods/{DnD55eRussian => DnD 5.5e AIO Russian}/meta.lsx | 2 +- scripts/build.ps1 | 2 +- scripts/build.sh | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) rename Mods/{DnD55eRussian => DnD 5.5e AIO Russian}/Localization/Russian/russian.xml (100%) rename Mods/{DnD55eRussian => DnD 5.5e AIO Russian}/meta.lsx (96%) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 0483486..1e88ebb 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -45,7 +45,7 @@ jobs: git -c "http.extraHeader=Authorization: Basic $authBasic" fetch --depth 1 origin $repoRef git checkout --force FETCH_HEAD - if (-not (Test-Path -LiteralPath "Mods\\DnD55eRussian\\Localization\\Russian\\russian.xml")) { + if (-not (Test-Path -LiteralPath "Mods\\DnD 5.5e AIO Russian\\Localization\\Russian\\russian.xml")) { throw "Repository sources are not available in the runner workspace." } @@ -70,7 +70,7 @@ jobs: $ErrorActionPreference = "Stop" $workspace = "${{ gitea.workspace }}" $modsPath = [System.IO.Path]::GetFullPath((Join-Path $workspace "Mods")) - $packagePath = [System.IO.Path]::GetFullPath((Join-Path $workspace "build/DnD55eRussian.pak")) + $packagePath = [System.IO.Path]::GetFullPath((Join-Path $workspace "build/DnD 5.5e AIO Russian.pak")) $zipPath = [System.IO.Path]::GetFullPath((Join-Path $workspace "build/DnD 5.5e AIO Russian.zip")) $divine = Get-ChildItem -Path ".tools/lslib" -Recurse -File | Where-Object { $_.Name -ieq "Divine.exe" } | @@ -82,7 +82,7 @@ jobs: & $divine.FullName -a create-package -g bg3 -s $modsPath -d $packagePath - if (-not (Test-Path -LiteralPath "build/DnD55eRussian.pak")) { + if (-not (Test-Path -LiteralPath "build/DnD 5.5e AIO Russian.pak")) { throw "Package was not created." } @@ -99,5 +99,5 @@ jobs: - name: Show build result run: | $ErrorActionPreference = "Stop" - Get-ChildItem "build/DnD55eRussian.pak", "build/DnD 5.5e AIO Russian.zip" | + Get-ChildItem "build/DnD 5.5e AIO Russian.pak", "build/DnD 5.5e AIO Russian.zip" | Select-Object FullName, Length, LastWriteTime diff --git a/Mods/DnD55eRussian/Localization/Russian/russian.xml b/Mods/DnD 5.5e AIO Russian/Localization/Russian/russian.xml similarity index 100% rename from Mods/DnD55eRussian/Localization/Russian/russian.xml rename to Mods/DnD 5.5e AIO Russian/Localization/Russian/russian.xml diff --git a/Mods/DnD55eRussian/meta.lsx b/Mods/DnD 5.5e AIO Russian/meta.lsx similarity index 96% rename from Mods/DnD55eRussian/meta.lsx rename to Mods/DnD 5.5e AIO Russian/meta.lsx index 8f0fb81..75fbdb2 100644 --- a/Mods/DnD55eRussian/meta.lsx +++ b/Mods/DnD 5.5e AIO Russian/meta.lsx @@ -21,7 +21,7 @@ - + diff --git a/scripts/build.ps1 b/scripts/build.ps1 index 2e5f6a3..6228123 100644 --- a/scripts/build.ps1 +++ b/scripts/build.ps1 @@ -4,4 +4,4 @@ if (-not (Test-Path -LiteralPath "build")) { New-Item -ItemType Directory -Path "build" | Out-Null } -Divine -a pack -s Mods -d build/DnD55eRussian.pak +Divine -a pack -s Mods -d "build/DnD 5.5e AIO Russian.pak" diff --git a/scripts/build.sh b/scripts/build.sh index b1fa6c9..e114c51 100644 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -2,4 +2,4 @@ set -euo pipefail mkdir -p build -Divine -a pack -s Mods -d build/DnD55eRussian.pak +Divine -a pack -s Mods -d "build/DnD 5.5e AIO Russian.pak"