Skip to content

Commit

Permalink
- Fix enet path
Browse files Browse the repository at this point in the history
- Fix noitapatcher path
- Fix dependency-updater
- Revert enet and noitapatcher path move
  • Loading branch information
Ismoh committed Feb 11, 2024
1 parent 25c296e commit 532d5da
Show file tree
Hide file tree
Showing 11 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/dependency-updater.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
GH_TOKEN: ${{ github.token }}
run: |
$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"
$noitaptacherDirectroyPath = "${{ github.workspace }}\mods\noita-mp\lua_modules\lib\lua\5.1\"
if ([System.IO.File]::Exists($noitaptacherPath)) {
$creationTime = (Get-Item $noitaptacherPath).CreationTime.ToString("yyyy-MM-ddThh:mm:ssZ")
Expand Down Expand Up @@ -129,9 +129,8 @@ jobs:
$tagName | Out-File -FilePath ${{ github.workspace }}\mods\noita-mp\lua_modules\lib\lua\5.1\noitapatcher.version
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\noitapatcher\nsew\*" -Destination $noitaptacherDirectroyPath\nsew\ -Recurse -Force
Copy-Item -Path "${{ github.workspace }}\temp\NoitaPatcher\noitapatcher\nsew\*" -Destination $noitaptacherDirectroyPath\noitapatcher\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
Expand Down
2 changes: 1 addition & 1 deletion mods/noita-mp/files/scripts/init/init_.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ local checkMandatoryDependencyMods = function(fileUtils, utils)
error("Please install NoitaDearImGui mod: https://github.com/dextercd/Noita-Dear-ImGui/releases/tag/release-1.9.0", 2)
end
if not fileUtils:Exists(("%s\\lua_modules\\lib\\lua\\5.1\\noitapatcher.dll"):format(fileUtils:GetAbsoluteDirectoryPathOfNoitaMP())) then
error("Please install NoitaPatcher mod: https://github.com/dextercd/NoitaPatcher/releases/tag/release-1.10.1", 2)
error("Please install NoitaPatcher mod: https://github.com/dextercd/NoitaPatcher/releases/latest", 2)
end
-- if not FileUtils.Exists(("%s\\..\\nsew"):format(FileUtils.GetAbsoluteDirectoryPathOfNoitaMP())) then
-- error("Please install NSEW mod: https://github.com/dextercd/Noita-Synchronise-Expansive-Worlds/releases/tag/release-0.0.5", 2)
Expand Down
Binary file removed mods/noita-mp/lua_modules/lib/lua/5.1/enet/enet.exp
Binary file not shown.
Binary file removed mods/noita-mp/lua_modules/lib/lua/5.1/enet/enet.lib
Binary file not shown.
1 change: 1 addition & 0 deletions mods/noita-mp/lua_modules/lib/lua/5.1/noitapatcher.version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
release-1.21.4

This file was deleted.

0 comments on commit 532d5da

Please sign in to comment.