From a284c7e8f88239ed91cb64a518324e1591401b26 Mon Sep 17 00:00:00 2001 From: Ismoh <12631485+Ismoh@users.noreply.github.com> Date: Sun, 11 Feb 2024 15:24:53 +0100 Subject: [PATCH] - Change enet path - Change noitapatcher path - Add NSEW to dependency-updater --- .github/workflows/dependency-updater.yml | 7 ++++--- .vscode/settings.json | 2 ++ .../lua_modules/lib/lua/5.1/{ => enet}/enet-version | 0 .../lua_modules/lib/lua/5.1/{ => enet}/enet.dll | Bin .../lua_modules/lib/lua/5.1/{ => enet}/enet.exp | Bin .../lua_modules/lib/lua/5.1/{ => enet}/enet.ilk | Bin .../lua_modules/lib/lua/5.1/{ => enet}/enet.lib | Bin .../lib/lua/5.1/{ => noitapatcher}/noitapatcher.dll | Bin .../lua/5.1/{ => noitapatcher}/noitapatcher.version | 0 9 files changed, 6 insertions(+), 3 deletions(-) rename mods/noita-mp/lua_modules/lib/lua/5.1/{ => enet}/enet-version (100%) rename mods/noita-mp/lua_modules/lib/lua/5.1/{ => enet}/enet.dll (100%) rename mods/noita-mp/lua_modules/lib/lua/5.1/{ => enet}/enet.exp (100%) rename mods/noita-mp/lua_modules/lib/lua/5.1/{ => enet}/enet.ilk (100%) rename mods/noita-mp/lua_modules/lib/lua/5.1/{ => enet}/enet.lib (100%) rename mods/noita-mp/lua_modules/lib/lua/5.1/{ => noitapatcher}/noitapatcher.dll (100%) rename mods/noita-mp/lua_modules/lib/lua/5.1/{ => noitapatcher}/noitapatcher.version (100%) diff --git a/.github/workflows/dependency-updater.yml b/.github/workflows/dependency-updater.yml index df467c58b..e889319e2 100644 --- a/.github/workflows/dependency-updater.yml +++ b/.github/workflows/dependency-updater.yml @@ -95,8 +95,8 @@ jobs: env: GH_TOKEN: ${{ github.token }} run: | - $noitaptacherPath = "${{ github.workspace }}\mods\noita-mp\lua_modules\lib\lua\5.1\noitapatcher.dll" - $noitaptacherDirectroyPath = "${{ github.workspace }}\mods\noita-mp\lua_modules\lib\lua\5.1\" + $noitaptacherPath = "${{ github.workspace }}\mods\noita-mp\lua_modules\lib\lua\5.1\noitapatcher\noitapatcher.dll" + $noitaptacherDirectroyPath = "${{ github.workspace }}\mods\noita-mp\lua_modules\lib\lua\5.1\noitapatcher" if ([System.IO.File]::Exists($noitaptacherPath)) { $creationTime = (Get-Item $noitaptacherPath).CreationTime.ToString("yyyy-MM-ddThh:mm:ssZ") @@ -131,7 +131,8 @@ jobs: Expand-Archive -Path "${{ github.workspace }}\temp\NoitaPatcher*.zip" -DestinationPath "${{ github.workspace }}\temp" -Force ls -R "${{ github.workspace }}\temp" Copy-Item -Path "${{ github.workspace }}\temp\NoitaPatcher\*" -Destination $noitaptacherDirectroyPath -Recurse -Force - Copy-Item -Path "${{ github.workspace }}\temp\NoitaPatcher\Modules\noitapatcher.lua" -Destination "${{ github.workspace }}\.debug\lua-definitions" -Force + Copy-Item -Path "${{ github.workspace }}\temp\NoitaPatcher\noitapatcher\nsew\*" -Destination $noitaptacherDirectroyPath\nsew\ -Recurse -Force + Copy-Item -Path "${{ github.workspace }}\temp\Modules\noitapatcher.lua" -Destination "${{ github.workspace }}\.debug\lua-definitions" -Force cd ${{ github.workspace }} # go back to root otherwise we cannot delete the temp folder Remove-Item -Path "${{ github.workspace }}\temp" -Recurse -Force diff --git a/.vscode/settings.json b/.vscode/settings.json index 3f81a0851..3bc43797f 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -67,6 +67,7 @@ "autostarter", "ctrlleft", "dkjson", + "enet", "gamemode", "luacheck", "luacov", @@ -78,6 +79,7 @@ "miscs", "noita", "noitamp", + "noitapatcher", "pigar", "pyautogui", "pygetwindow", diff --git a/mods/noita-mp/lua_modules/lib/lua/5.1/enet-version b/mods/noita-mp/lua_modules/lib/lua/5.1/enet/enet-version similarity index 100% rename from mods/noita-mp/lua_modules/lib/lua/5.1/enet-version rename to mods/noita-mp/lua_modules/lib/lua/5.1/enet/enet-version diff --git a/mods/noita-mp/lua_modules/lib/lua/5.1/enet.dll b/mods/noita-mp/lua_modules/lib/lua/5.1/enet/enet.dll similarity index 100% rename from mods/noita-mp/lua_modules/lib/lua/5.1/enet.dll rename to mods/noita-mp/lua_modules/lib/lua/5.1/enet/enet.dll diff --git a/mods/noita-mp/lua_modules/lib/lua/5.1/enet.exp b/mods/noita-mp/lua_modules/lib/lua/5.1/enet/enet.exp similarity index 100% rename from mods/noita-mp/lua_modules/lib/lua/5.1/enet.exp rename to mods/noita-mp/lua_modules/lib/lua/5.1/enet/enet.exp diff --git a/mods/noita-mp/lua_modules/lib/lua/5.1/enet.ilk b/mods/noita-mp/lua_modules/lib/lua/5.1/enet/enet.ilk similarity index 100% rename from mods/noita-mp/lua_modules/lib/lua/5.1/enet.ilk rename to mods/noita-mp/lua_modules/lib/lua/5.1/enet/enet.ilk diff --git a/mods/noita-mp/lua_modules/lib/lua/5.1/enet.lib b/mods/noita-mp/lua_modules/lib/lua/5.1/enet/enet.lib similarity index 100% rename from mods/noita-mp/lua_modules/lib/lua/5.1/enet.lib rename to mods/noita-mp/lua_modules/lib/lua/5.1/enet/enet.lib diff --git a/mods/noita-mp/lua_modules/lib/lua/5.1/noitapatcher.dll b/mods/noita-mp/lua_modules/lib/lua/5.1/noitapatcher/noitapatcher.dll similarity index 100% rename from mods/noita-mp/lua_modules/lib/lua/5.1/noitapatcher.dll rename to mods/noita-mp/lua_modules/lib/lua/5.1/noitapatcher/noitapatcher.dll diff --git a/mods/noita-mp/lua_modules/lib/lua/5.1/noitapatcher.version b/mods/noita-mp/lua_modules/lib/lua/5.1/noitapatcher/noitapatcher.version similarity index 100% rename from mods/noita-mp/lua_modules/lib/lua/5.1/noitapatcher.version rename to mods/noita-mp/lua_modules/lib/lua/5.1/noitapatcher/noitapatcher.version