diff options
| -rwxr-xr-x | .travis/linux-mingw/docker.sh | 1 | ||||
| -rw-r--r-- | appveyor.yml | 19 |
2 files changed, 11 insertions, 9 deletions
diff --git a/.travis/linux-mingw/docker.sh b/.travis/linux-mingw/docker.sh index d15c3f6e8..6cf43a006 100755 --- a/.travis/linux-mingw/docker.sh +++ b/.travis/linux-mingw/docker.sh | |||
| @@ -57,3 +57,4 @@ done | |||
| 57 | 57 | ||
| 58 | pip3 install pefile | 58 | pip3 install pefile |
| 59 | python3 .travis/linux-mingw/scan_dll.py package/*.exe "package/" | 59 | python3 .travis/linux-mingw/scan_dll.py package/*.exe "package/" |
| 60 | python3 .travis/linux-mingw/scan_dll.py package/imageformats/*.dll "package/" | ||
diff --git a/appveyor.yml b/appveyor.yml index 6d0e6522a..d6a69fbc2 100644 --- a/appveyor.yml +++ b/appveyor.yml | |||
| @@ -125,26 +125,27 @@ after_build: | |||
| 125 | Copy-Item -path "$CMAKE_SOURCE_DIR/license.txt" -destination $RELEASE_DIST | 125 | Copy-Item -path "$CMAKE_SOURCE_DIR/license.txt" -destination $RELEASE_DIST |
| 126 | Copy-Item -path "$CMAKE_SOURCE_DIR/README.md" -destination $RELEASE_DIST | 126 | Copy-Item -path "$CMAKE_SOURCE_DIR/README.md" -destination $RELEASE_DIST |
| 127 | 127 | ||
| 128 | # copy the qt windows plugin dll to platforms | ||
| 129 | Copy-Item -path "C:/msys64/mingw64/share/qt5/plugins/platforms/qwindows.dll" -force -destination "$RELEASE_DIST/platforms" | ||
| 130 | |||
| 131 | # copy the qt windows vista style dll to platforms | ||
| 132 | Copy-Item -path "C:/msys64/mingw64/share/qt5/plugins/styles/qwindowsvistastyle.dll" -force -destination "$RELEASE_DIST/styles" | ||
| 133 | |||
| 134 | # copy the qt jpeg imageformat dll to platforms | ||
| 135 | Copy-Item -path "C:/msys64/mingw64/share/qt5/plugins/imageformats/qjpeg.dll" -force -destination "$RELEASE_DIST/imageformats" | ||
| 136 | |||
| 128 | # copy all the dll dependencies to the release folder | 137 | # copy all the dll dependencies to the release folder |
| 129 | . "./.appveyor/UtilityFunctions.ps1" | 138 | . "./.appveyor/UtilityFunctions.ps1" |
| 130 | $DLLSearchPath = "C:\msys64\mingw64\bin;$env:PATH" | 139 | $DLLSearchPath = "C:\msys64\mingw64\bin;$env:PATH" |
| 131 | $MingwDLLs = RecursivelyGetDeps $DLLSearchPath "$RELEASE_DIST\yuzu.exe" | 140 | $MingwDLLs = RecursivelyGetDeps $DLLSearchPath "$RELEASE_DIST\yuzu.exe" |
| 132 | $MingwDLLs += RecursivelyGetDeps $DLLSearchPath "$RELEASE_DIST\yuzu_cmd.exe" | 141 | $MingwDLLs += RecursivelyGetDeps $DLLSearchPath "$RELEASE_DIST\yuzu_cmd.exe" |
| 142 | $MingwDLLs += RecursivelyGetDeps $DLLSearchPath "$RELEASE_DIST\imageformats\qjpeg.dll" | ||
| 133 | Write-Host "Detected the following dependencies:" | 143 | Write-Host "Detected the following dependencies:" |
| 134 | Write-Host $MingwDLLs | 144 | Write-Host $MingwDLLs |
| 135 | foreach ($file in $MingwDLLs) { | 145 | foreach ($file in $MingwDLLs) { |
| 136 | Copy-Item -path "$file" -force -destination "$RELEASE_DIST" | 146 | Copy-Item -path "$file" -force -destination "$RELEASE_DIST" |
| 137 | } | 147 | } |
| 138 | 148 | ||
| 139 | # copy the qt windows plugin dll to platforms | ||
| 140 | Copy-Item -path "C:/msys64/mingw64/share/qt5/plugins/platforms/qwindows.dll" -force -destination "$RELEASE_DIST/platforms" | ||
| 141 | |||
| 142 | # copy the qt windows vista style dll to platforms | ||
| 143 | Copy-Item -path "C:/msys64/mingw64/share/qt5/plugins/styles/qwindowsvistastyle.dll" -force -destination "$RELEASE_DIST/styles" | ||
| 144 | |||
| 145 | # copy the qt jpeg imageformat dll to platforms | ||
| 146 | Copy-Item -path "C:/msys64/mingw64/share/qt5/plugins/imageformats/qjpeg.dll" -force -destination "$RELEASE_DIST/imageformats" | ||
| 147 | |||
| 148 | 7z a -tzip $MINGW_BUILD_ZIP $RELEASE_DIST\* | 149 | 7z a -tzip $MINGW_BUILD_ZIP $RELEASE_DIST\* |
| 149 | 7z a $MINGW_SEVENZIP $RELEASE_DIST | 150 | 7z a $MINGW_SEVENZIP $RELEASE_DIST |
| 150 | } | 151 | } |