mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 21:41:26 +12:00
minor refactoring
This commit is contained in:
parent
00cfe003f7
commit
e8bae00f57
1 changed files with 5 additions and 4 deletions
|
@ -30,7 +30,9 @@ install:
|
||||||
$env:APPVEYOR_REPO_BRANCH, $env:APPVEYOR_PULL_REQUEST_NUMBER
|
$env:APPVEYOR_REPO_BRANCH, $env:APPVEYOR_PULL_REQUEST_NUMBER
|
||||||
$env:BRANCH = $env:BRANCH -replace "/#$"
|
$env:BRANCH = $env:BRANCH -replace "/#$"
|
||||||
|
|
||||||
- ps: $env:PATH += $env:QTDIR
|
- ps: | # misc global settings
|
||||||
|
$env:PATH += $env:QTDIR
|
||||||
|
[net.servicepointmanager]::securityprotocol = "tls12, tls11, tls"
|
||||||
|
|
||||||
- ps: | # update and init submodules
|
- ps: | # update and init submodules
|
||||||
git submodule -q update --init `
|
git submodule -q update --init `
|
||||||
|
@ -68,10 +70,9 @@ after_build:
|
||||||
rm .\bin\rpcs3.exp, .\bin\rpcs3.lib, .\bin\rpcs3.pdb
|
rm .\bin\rpcs3.exp, .\bin\rpcs3.lib, .\bin\rpcs3.pdb
|
||||||
|
|
||||||
- ps: | # prepare compatibility database for packaging
|
- ps: | # prepare compatibility database for packaging
|
||||||
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
|
$db = irm $env:COMPATDB -erroraction silentlycontinue
|
||||||
$db = irm $env:COMPATDB -ea SilentlyContinue
|
|
||||||
if ($db -and $db.return_code -eq 0) {
|
if ($db -and $db.return_code -eq 0) {
|
||||||
$db | convertto-json -compress | out-file -encoding utf8 compat_database.dat
|
$db | convertto-json -compress | out-file compat_database.dat -encoding utf8
|
||||||
}
|
}
|
||||||
copy-item compat_database.dat .\bin\GuiConfigs\compat_database.dat
|
copy-item compat_database.dat .\bin\GuiConfigs\compat_database.dat
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue