summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThirteenAG <thirteenag@gmail.com>2019-07-20 15:30:03 +0200
committerThirteenAG <thirteenag@gmail.com>2019-07-20 15:30:03 +0200
commit9c16c1fa634a98290c5a4ca029c826102b740a76 (patch)
treed8a795f8557de7d9678ebaafb4601f7a195ce255
parentpremake and appveyor update (diff)
downloadre3-9c16c1fa634a98290c5a4ca029c826102b740a76.tar
re3-9c16c1fa634a98290c5a4ca029c826102b740a76.tar.gz
re3-9c16c1fa634a98290c5a4ca029c826102b740a76.tar.bz2
re3-9c16c1fa634a98290c5a4ca029c826102b740a76.tar.lz
re3-9c16c1fa634a98290c5a4ca029c826102b740a76.tar.xz
re3-9c16c1fa634a98290c5a4ca029c826102b740a76.tar.zst
re3-9c16c1fa634a98290c5a4ca029c826102b740a76.zip
Diffstat (limited to '')
-rw-r--r--.appveyor.yml15
-rw-r--r--premake5.lua2
2 files changed, 2 insertions, 15 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
index c87ddb7a..14220506 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -9,37 +9,24 @@ environment:
install:
- cmd: >-
git submodule update --init --recursive
-
premake-vs2019.cmd
build:
project: build/re3.sln
verbosity: minimal
after_build:
+# downloading latest release of UAL to make release with UAL and ASI.
- ps: >-
$releases = "https://github.com/ThirteenAG/Ultimate-ASI-Loader/releases"
-
$name = "Ultimate-ASI-Loader.zip"
-
$latestRelease = Invoke-WebRequest $releases/latest -Headers @{"Accept"="application/json"}
-
$json = $latestRelease.Content | ConvertFrom-Json
-
$latestVersion = $json.tag_name
-
$url = "$releases/download/$latestVersion/$name"
-
-
Start-FileDownload $url -FileName 'C:\Ultimate-ASI-Loader.zip'
-
7z e c:\Ultimate-ASI-Loader.zip -oc:\Projects\re3\bin\${env:CONFIGURATION}
-
-
cd "bin\${env:CONFIGURATION}"
-
copy re3.dll re3.asi
-
7z u "RE3_${env:CONFIGURATION}+UAL.zip" re3.asi dinput8.dll
-
Get-ChildItem .\*.zip | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
artifacts:
- path: bin/%CONFIGURATION%/re3.dll
diff --git a/premake5.lua b/premake5.lua
index adca50d2..7d6aa717 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -49,7 +49,7 @@ workspace "re3"
")" }
function setpaths (gamepath, exepath, scriptspath)
- scriptspath = scriptspath or "scripts/"
+ scriptspath = scriptspath or ""
if (gamepath) then
cmdcopy = { "set \"path=" .. gamepath .. scriptspath .. "\"" }
table.insert(cmdcopy, pbcommands)