typo fixes and tiny adjustments

This commit is contained in:
Dragonji 2014-09-26 13:50:23 +02:00 committed by Remy Marquis
parent 24bfc165cb
commit 1293230598
3 changed files with 27 additions and 27 deletions

View file

@ -1,4 +1,4 @@
tools Tools
===== =====
Toold for etlegacy repo Tools for etlegacy repo

View file

@ -106,7 +106,7 @@ if [ ! -f etlegacy-linux-${version}.zip ]; then
downloader http://mirror.etlegacy.com/release/etlegacy-linux-${version}.zip downloader http://mirror.etlegacy.com/release/etlegacy-linux-${version}.zip
fi fi
if [ ! -f omnibot-linux-latest.tar.gz ]; then if [ ! -f omnibot-linux-latest.tar.gz ]; then
note i "Fetching Omni-Bot files..." note i "Fetching Omni-bot files..."
downloader http://mirror.etlegacy.com/omnibot/omnibot-linux-latest.tar.gz downloader http://mirror.etlegacy.com/omnibot/omnibot-linux-latest.tar.gz
fi fi

View file

@ -247,9 +247,9 @@ Section -Shortcuts
CreateDirectory "$SMPROGRAMS\Enemy Territory - Legacy" CreateDirectory "$SMPROGRAMS\Enemy Territory - Legacy"
CreateShortCut "$SMPROGRAMS\Enemy Territory - Legacy\Enemy Territory - Legacy Homepage.lnk" "http://www.etlegacy.com" "" "$INSTDIR\etl.ico" CreateShortCut "$SMPROGRAMS\Enemy Territory - Legacy\Enemy Territory - Legacy Homepage.lnk" "http://www.etlegacy.com" "" "$INSTDIR\etl.ico"
CreateShortCut "$SMPROGRAMS\Enemy Territory - Legacy\Launch Enemy Territory - Legacy.lnk" "$INSTDIR\etl.exe" CreateShortCut "$SMPROGRAMS\Enemy Territory - Legacy\Launch Enemy Territory - Legacy.lnk" "$INSTDIR\etl.exe"
CreateShortCut "$SMPROGRAMS\Enemy Territory - Legacy\Play on ETLegacy.com.lnk" "et://etlegacy.com:27960" "" "$INSTDIR\etl.ico" CreateShortCut "$SMPROGRAMS\Enemy Territory - Legacy\Play on Official Server.lnk" "et://etlegacy.com:27960" "" "$INSTDIR\etl.ico"
CreateShortCut "$SMPROGRAMS\Enemy Territory - Legacy\Uninstall.lnk" "$INSTDIR\uninstall.exe" CreateShortCut "$SMPROGRAMS\Enemy Territory - Legacy\Uninstall.lnk" "$INSTDIR\uninstall.exe"
CreateShortCut "$DESKTOP\ET-Legacy.lnk" "$INSTDIR\etl.exe" CreateShortCut "$DESKTOP\Enemy Territory - Legacy.lnk" "$INSTDIR\etl.exe"
SectionEnd SectionEnd
Section -Post Section -Post
@ -276,7 +276,7 @@ Function InstallVC
ClearErrors ClearErrors
ReadRegDword $R0 HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{F8CFEB22-A2E7-3971-9EDA-4B11EDEFC185}" "Version" ReadRegDword $R0 HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{F8CFEB22-A2E7-3971-9EDA-4B11EDEFC185}" "Version"
IfErrors 0 VSRedistInstalled IfErrors 0 VSRedistInstalled
; Maybe we should just install it and not even comfirm? ; Maybe we should just install it and not even confirm?
MessageBox MB_ICONQUESTION|MB_YESNO "ET: Legacy requires MS VC++ 2013 Redistributable, do you want to install it?" IDNO VSRedistMissing MessageBox MB_ICONQUESTION|MB_YESNO "ET: Legacy requires MS VC++ 2013 Redistributable, do you want to install it?" IDNO VSRedistMissing
File /nonfatal "vcredist\vcredist_x86.exe" File /nonfatal "vcredist\vcredist_x86.exe"
; we either use /quiet or /passive, quiet shows nothing and passive show minimal UI with no user interactions ; we either use /quiet or /passive, quiet shows nothing and passive show minimal UI with no user interactions
@ -315,7 +315,7 @@ Section "un.ET:Legacy" UNFILES
DeleteRegKey HKLM "${PRODUCT_UNINST_KEY}" DeleteRegKey HKLM "${PRODUCT_UNINST_KEY}"
DeleteRegKey HKCR "et" DeleteRegKey HKCR "et"
RMDir /r "$SMPROGRAMS\Enemy Territory - Legacy" RMDir /r "$SMPROGRAMS\Enemy Territory - Legacy"
Delete "$DESKTOP\ET-Legacy.lnk" Delete "$DESKTOP\Enemy Territory - Legacy.lnk"
SimpleFC::RemoveApplication "$INSTDIR\etl.exe" SimpleFC::RemoveApplication "$INSTDIR\etl.exe"
SimpleFC::RemoveApplication "$INSTDIR\etlded.exe" SimpleFC::RemoveApplication "$INSTDIR\etlded.exe"
SectionEnd SectionEnd