Remove markdown/html pages from windows install.
This commit is contained in:
@@ -22,7 +22,6 @@ addons:
|
|||||||
- lua5.1
|
- lua5.1
|
||||||
- dpkg
|
- dpkg
|
||||||
- zsync
|
- zsync
|
||||||
- markdown
|
|
||||||
- imagemagick
|
- imagemagick
|
||||||
|
|
||||||
# Environment variables
|
# Environment variables
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -17,9 +17,6 @@ test_script:
|
|||||||
|
|
||||||
after_test:
|
after_test:
|
||||||
- appveyor DownloadFile "https://download.ip2location.com/lite/IP2LOCATION-LITE-DB1.IPV6.BIN.ZIP" -FileName IP2LOCATION-LITE-DB1.IPV6.BIN.ZIP
|
- appveyor DownloadFile "https://download.ip2location.com/lite/IP2LOCATION-LITE-DB1.IPV6.BIN.ZIP" -FileName IP2LOCATION-LITE-DB1.IPV6.BIN.ZIP
|
||||||
- appveyor DownloadFile "https://raw.githubusercontent.com/wiki/OpenRA/OpenRA/Changelog.md" -FileName Changelog.md
|
|
||||||
- make docs
|
|
||||||
- ps: dir *.md | % {gc $_ -Raw | .\ConvertFrom-Markdown.ps1 | Out-File -FilePath "$($_.Name.TrimEnd(".md")).html"}
|
|
||||||
- pip install Pillow
|
- pip install Pillow
|
||||||
- python -c "from PIL import Image; i = Image.open('packaging/artwork/ra_256x256.png'); i.save('ra.ico')"
|
- python -c "from PIL import Image; i = Image.open('packaging/artwork/ra_256x256.png'); i.save('ra.ico')"
|
||||||
- python -c "from PIL import Image; i = Image.open('packaging/artwork/cnc_256x256.png'); i.save('cnc.ico')"
|
- python -c "from PIL import Image; i = Image.open('packaging/artwork/cnc_256x256.png'); i.save('cnc.ico')"
|
||||||
|
|||||||
@@ -140,9 +140,6 @@ Section "Game" GAME
|
|||||||
File "${SRCDIR}\VERSION"
|
File "${SRCDIR}\VERSION"
|
||||||
File "${SRCDIR}\AUTHORS"
|
File "${SRCDIR}\AUTHORS"
|
||||||
File "${SRCDIR}\COPYING"
|
File "${SRCDIR}\COPYING"
|
||||||
File "${SRCDIR}\README.html"
|
|
||||||
File "${SRCDIR}\CHANGELOG.html"
|
|
||||||
File "${SRCDIR}\CONTRIBUTING.html"
|
|
||||||
File "${SRCDIR}\ra.ico"
|
File "${SRCDIR}\ra.ico"
|
||||||
File "${SRCDIR}\cnc.ico"
|
File "${SRCDIR}\cnc.ico"
|
||||||
File "${SRCDIR}\d2k.ico"
|
File "${SRCDIR}\d2k.ico"
|
||||||
@@ -230,7 +227,6 @@ Section "-Uninstaller"
|
|||||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\OpenRA${SUFFIX}" "DisplayIcon" "$INSTDIR\ra.ico"
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\OpenRA${SUFFIX}" "DisplayIcon" "$INSTDIR\ra.ico"
|
||||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\OpenRA${SUFFIX}" "Publisher" "OpenRA developers"
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\OpenRA${SUFFIX}" "Publisher" "OpenRA developers"
|
||||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\OpenRA${SUFFIX}" "URLInfoAbout" "http://openra.net"
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\OpenRA${SUFFIX}" "URLInfoAbout" "http://openra.net"
|
||||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\OpenRA${SUFFIX}" "Readme" "$INSTDIR\README.html"
|
|
||||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\OpenRA${SUFFIX}" "DisplayVersion" "${TAG}"
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\OpenRA${SUFFIX}" "DisplayVersion" "${TAG}"
|
||||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\OpenRA${SUFFIX}" "NoModify" "1"
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\OpenRA${SUFFIX}" "NoModify" "1"
|
||||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\OpenRA${SUFFIX}" "NoRepair" "1"
|
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\OpenRA${SUFFIX}" "NoRepair" "1"
|
||||||
@@ -260,9 +256,6 @@ Function ${UN}Clean
|
|||||||
Delete $INSTDIR\VERSION
|
Delete $INSTDIR\VERSION
|
||||||
Delete $INSTDIR\AUTHORS
|
Delete $INSTDIR\AUTHORS
|
||||||
Delete $INSTDIR\COPYING
|
Delete $INSTDIR\COPYING
|
||||||
Delete $INSTDIR\README.html
|
|
||||||
Delete $INSTDIR\CHANGELOG.html
|
|
||||||
Delete $INSTDIR\CONTRIBUTING.html
|
|
||||||
Delete $INSTDIR\ra.ico
|
Delete $INSTDIR\ra.ico
|
||||||
Delete $INSTDIR\cnc.ico
|
Delete $INSTDIR\cnc.ico
|
||||||
Delete $INSTDIR\d2k.ico
|
Delete $INSTDIR\d2k.ico
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
command -v curl >/dev/null 2>&1 || { echo >&2 "Windows packaging requires curl."; exit 1; }
|
command -v curl >/dev/null 2>&1 || { echo >&2 "Windows packaging requires curl."; exit 1; }
|
||||||
command -v markdown >/dev/null 2>&1 || { echo >&2 "Windows packaging requires markdown."; exit 1; }
|
|
||||||
command -v makensis >/dev/null 2>&1 || { echo >&2 "Windows packaging requires makensis."; exit 1; }
|
command -v makensis >/dev/null 2>&1 || { echo >&2 "Windows packaging requires makensis."; exit 1; }
|
||||||
command -v convert >/dev/null 2>&1 || { echo >&2 "Windows packaging requires ImageMagick."; exit 1; }
|
command -v convert >/dev/null 2>&1 || { echo >&2 "Windows packaging requires ImageMagick."; exit 1; }
|
||||||
|
|
||||||
@@ -81,13 +80,6 @@ function build_platform()
|
|||||||
makelauncher "Dune2000.exe" "Dune 2000" "d2k" ${PLATFORM}
|
makelauncher "Dune2000.exe" "Dune 2000" "d2k" ${PLATFORM}
|
||||||
cp "${SRCDIR}/OpenRA.Game.exe.config" "${BUILTDIR}"
|
cp "${SRCDIR}/OpenRA.Game.exe.config" "${BUILTDIR}"
|
||||||
|
|
||||||
curl -s -L -O https://raw.githubusercontent.com/wiki/OpenRA/OpenRA/Changelog.md
|
|
||||||
markdown Changelog.md > "${BUILTDIR}/CHANGELOG.html"
|
|
||||||
rm Changelog.md
|
|
||||||
|
|
||||||
markdown "${SRCDIR}/README.md" > "${BUILTDIR}/README.html"
|
|
||||||
markdown "${SRCDIR}/CONTRIBUTING.md" > "${BUILTDIR}/CONTRIBUTING.html"
|
|
||||||
|
|
||||||
echo "Building Windows setup.exe ($1)"
|
echo "Building Windows setup.exe ($1)"
|
||||||
makensis -V2 -DSRCDIR="${BUILTDIR}" -DTAG="${TAG}" -DSUFFIX="${SUFFIX}" ${USE_PROGRAMFILES32} OpenRA.nsi
|
makensis -V2 -DSRCDIR="${BUILTDIR}" -DTAG="${TAG}" -DSUFFIX="${SUFFIX}" ${USE_PROGRAMFILES32} OpenRA.nsi
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user