mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-22 17:19:15 +01:00
small cleanup
This commit is contained in:
parent
a8dfcc25c7
commit
9c16c1fa63
@ -9,37 +9,24 @@ environment:
|
|||||||
install:
|
install:
|
||||||
- cmd: >-
|
- cmd: >-
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
|
|
||||||
premake-vs2019.cmd
|
premake-vs2019.cmd
|
||||||
build:
|
build:
|
||||||
project: build/re3.sln
|
project: build/re3.sln
|
||||||
verbosity: minimal
|
verbosity: minimal
|
||||||
after_build:
|
after_build:
|
||||||
|
# downloading latest release of UAL to make release with UAL and ASI.
|
||||||
- ps: >-
|
- ps: >-
|
||||||
$releases = "https://github.com/ThirteenAG/Ultimate-ASI-Loader/releases"
|
$releases = "https://github.com/ThirteenAG/Ultimate-ASI-Loader/releases"
|
||||||
|
|
||||||
$name = "Ultimate-ASI-Loader.zip"
|
$name = "Ultimate-ASI-Loader.zip"
|
||||||
|
|
||||||
$latestRelease = Invoke-WebRequest $releases/latest -Headers @{"Accept"="application/json"}
|
$latestRelease = Invoke-WebRequest $releases/latest -Headers @{"Accept"="application/json"}
|
||||||
|
|
||||||
$json = $latestRelease.Content | ConvertFrom-Json
|
$json = $latestRelease.Content | ConvertFrom-Json
|
||||||
|
|
||||||
$latestVersion = $json.tag_name
|
$latestVersion = $json.tag_name
|
||||||
|
|
||||||
$url = "$releases/download/$latestVersion/$name"
|
$url = "$releases/download/$latestVersion/$name"
|
||||||
|
|
||||||
|
|
||||||
Start-FileDownload $url -FileName 'C:\Ultimate-ASI-Loader.zip'
|
Start-FileDownload $url -FileName 'C:\Ultimate-ASI-Loader.zip'
|
||||||
|
|
||||||
7z e c:\Ultimate-ASI-Loader.zip -oc:\Projects\re3\bin\${env:CONFIGURATION}
|
7z e c:\Ultimate-ASI-Loader.zip -oc:\Projects\re3\bin\${env:CONFIGURATION}
|
||||||
|
|
||||||
|
|
||||||
cd "bin\${env:CONFIGURATION}"
|
cd "bin\${env:CONFIGURATION}"
|
||||||
|
|
||||||
copy re3.dll re3.asi
|
copy re3.dll re3.asi
|
||||||
|
|
||||||
7z u "RE3_${env:CONFIGURATION}+UAL.zip" re3.asi dinput8.dll
|
7z u "RE3_${env:CONFIGURATION}+UAL.zip" re3.asi dinput8.dll
|
||||||
|
|
||||||
Get-ChildItem .\*.zip | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
|
Get-ChildItem .\*.zip | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
|
||||||
artifacts:
|
artifacts:
|
||||||
- path: bin/%CONFIGURATION%/re3.dll
|
- path: bin/%CONFIGURATION%/re3.dll
|
||||||
|
@ -49,7 +49,7 @@ workspace "re3"
|
|||||||
")" }
|
")" }
|
||||||
|
|
||||||
function setpaths (gamepath, exepath, scriptspath)
|
function setpaths (gamepath, exepath, scriptspath)
|
||||||
scriptspath = scriptspath or "scripts/"
|
scriptspath = scriptspath or ""
|
||||||
if (gamepath) then
|
if (gamepath) then
|
||||||
cmdcopy = { "set \"path=" .. gamepath .. scriptspath .. "\"" }
|
cmdcopy = { "set \"path=" .. gamepath .. scriptspath .. "\"" }
|
||||||
table.insert(cmdcopy, pbcommands)
|
table.insert(cmdcopy, pbcommands)
|
||||||
|
Loading…
Reference in New Issue
Block a user