# Script that performs the copying of files
# necessary for the gui and the startup of
# the ui after the files have been copied

# copy the resource and font files
splash msd:0:\copyload.raw
resourcecopy ui msd:0:\ui.pbx

splash msd:0:\copywait.raw
resourcecopy toolbox msd:0:\toolbox.pbx

splash msd:0:\copyload.raw
cp msd:0:\freesans.ttf nor:0:\freesans.ttf

splash msd:0:\copywait.raw
cp msd:0:\freesanb.ttf nor:0:\freesanb.ttf


# copy the cybex logo splash screen
splash msd:0:\copyload.raw
cp msd:0:\cybexlgo.raw nor:0:\cybexlgo.raw

# copy the ui loading splash screen
splash msd:0:\copywait.raw
cp msd:0:\step2.raw nor:0:\step2.raw

# copy the string replacement file
splash msd:0:\copyload.raw
cp msd:0:\strrepl.ace nor:0:\strrepl.ace

# start the ui
startui

# display an instructional popup to the user
popup cent t=30 Update Complete Cycle Power

# console feedback that the update has completed
echo "Update complete"