Cambiadas las opciones por defecto
This commit is contained in:
@@ -1962,9 +1962,9 @@ void IniProgram()
|
|||||||
event = new SDL_Event();
|
event = new SDL_Event();
|
||||||
|
|
||||||
prog.music_enabled = true;
|
prog.music_enabled = true;
|
||||||
prog.filter = false;
|
prog.filter = true;
|
||||||
SetProgSection(SECTION_MENU);
|
SetProgSection(SECTION_MENU);
|
||||||
prog.debug = true;
|
prog.debug = false;
|
||||||
|
|
||||||
/*if (prog.music_enabled) // [TODO] Jail_Audio encara no permet canviar el volum
|
/*if (prog.music_enabled) // [TODO] Jail_Audio encara no permet canviar el volum
|
||||||
Mix_VolumeMusic(100);
|
Mix_VolumeMusic(100);
|
||||||
|
|||||||
36
sync.sh
36
sync.sh
@@ -1,36 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
readonly PROJECT=volcano_old
|
|
||||||
|
|
||||||
readonly USAGE="
|
|
||||||
USAGE:
|
|
||||||
$(basename "$0") [UPLOAD or DOWNLOAD]"
|
|
||||||
|
|
||||||
function help_message() {
|
|
||||||
echo "$USAGE"
|
|
||||||
}
|
|
||||||
|
|
||||||
PARAMETERS="UPLOAD DOWNLOAD upload download"
|
|
||||||
|
|
||||||
# check if there are all the parameters
|
|
||||||
if [ "$#" -ne 1 ]; then
|
|
||||||
help_message
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
# check if the systems parameter is valid
|
|
||||||
if ! echo "$PARAMETERS" | grep -w "$1" >/dev/null; then
|
|
||||||
help_message
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
# UPLOAD
|
|
||||||
if [ "$1" = upload ] || [ "$1" = UPLOAD ]; then
|
|
||||||
printf "\n%s\n" "uploading $PROJECT"
|
|
||||||
rsync -azmPu --delete -e 'ssh -p 4545' . sergio@sustancia.synology.me:/home/sergio/backup/code/$PROJECT/
|
|
||||||
rsync -azmPu -e 'ssh -p 4545' . sergio@sustancia.synology.me:/home/sergio/backup/code/$PROJECT.all/
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$1" = download ] || [ "$1" = DOWNLOAD ]; then
|
|
||||||
printf "%s\n" "downloading $PROJECT"
|
|
||||||
rsync -azmP --delete -e 'ssh -p 4545' sergio@sustancia.synology.me:/home/sergio/backup/code/$PROJECT/* .
|
|
||||||
fi
|
|
||||||
Reference in New Issue
Block a user