Polish
This commit is contained in:
@@ -44,7 +44,11 @@ cd $EXE_PATH
|
||||
|
||||
# Download and install game dependencies if needed
|
||||
if [[ ! -e "mono" ]]; then
|
||||
./download_package "$DEPS_PACKAGE" "$EXE_PATH" "17.2 Mb" "Game Dependencies" $DEPS_URL
|
||||
./download_package "$DEPS_PACKAGE" "$EXE_PATH" "17.2 Mb" "required game dependencies" $DEPS_URL
|
||||
if [[ ! -e "mono" ]]; then
|
||||
./display_error "Installation failed" "Package install failed."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
# Prompt for the mod to run
|
||||
@@ -68,16 +72,18 @@ fi
|
||||
|
||||
# Check that the game data is installed
|
||||
if [[ $MOD == "ra" && ! -e "$GAME_PATH/mods/ra/packages/redalert.mix" ]]; then
|
||||
./download_package "ra-packages.zip" "$GAME_PATH/mods/ra/packages/" "10 Mb" "Red Alert" $RA_URL
|
||||
./download_package "ra-packages.zip" "$GAME_PATH/mods/ra/packages/" "10 Mb" "the Red Alert game data" $RA_URL
|
||||
if [[ ! -e "$GAME_PATH/mods/ra/packages/redalert.mix" ]]; then
|
||||
./display_error "Installation failed" "Package install failed."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ $MOD == "cnc" && ! -e "$GAME_PATH/mods/cnc/packages/conquer.mix" ]]; then
|
||||
./download_package "cnc-packages.zip" "$GAME_PATH/mods/cnc/packages/" "5.9 Mb" "C&C" $CNC_URL
|
||||
./download_package "cnc-packages.zip" "$GAME_PATH/mods/cnc/packages/" "5.9 Mb" "the C&C game data" $CNC_URL
|
||||
if [[ ! -e "$GAME_PATH/mods/cnc/packages/conquer.mix" ]]; then
|
||||
./display_error "Installation failed" "Package install failed."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ RESOURCES_PATH=`pwd`/../Resources
|
||||
`/usr/bin/osascript << EOT
|
||||
tell application "Finder"
|
||||
display dialog "${2}\n\nSupport is available in our irc channel irc.freenode.net #openra." \
|
||||
buttons "Exit" \
|
||||
buttons "Quit" \
|
||||
default button 1 \
|
||||
with title "${1}" \
|
||||
with icon alias (POSIX file "$RESOURCES_PATH/OpenRA.icns")
|
||||
|
||||
@@ -41,7 +41,7 @@ if [ -e "downloads/${1}" ]; then
|
||||
else
|
||||
CONTINUE=`/usr/bin/osascript << EOT
|
||||
tell application "Finder"
|
||||
display dialog "OpenRA needs to download the ${4} game data.\nDownload size: ${3}" \
|
||||
display dialog "OpenRA needs to download ${4}.\n\nDownload size: ${3}" \
|
||||
buttons {"Download", "Quit"} \
|
||||
default button "Download" \
|
||||
with icon alias (POSIX file "$RESOURCES_PATH/OpenRA.icns")
|
||||
|
||||
Reference in New Issue
Block a user