Skip to content

Commit

Permalink
- Change enet path
Browse files Browse the repository at this point in the history
- Change noitapatcher path
- Add NSEW to dependency-updater
  • Loading branch information
Ismoh committed Feb 11, 2024
1 parent 963c8b5 commit a284c7e
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/dependency-updater.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
"autostarter",
"ctrlleft",
"dkjson",
"enet",
"gamemode",
"luacheck",
"luacov",
Expand All @@ -78,6 +79,7 @@
"miscs",
"noita",
"noitamp",
"noitapatcher",
"pigar",
"pyautogui",
"pygetwindow",
Expand Down

0 comments on commit a284c7e

Please sign in to comment.