Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • rascas
    Participant

    OFF

    in reply to: Call "Binary-based Installation" directly #101756
    rascas
    Participant

    Thanks, much easier that way :D

    in reply to: Call "Binary-based Installation" directly #101648
    rascas
    Participant

    Well i think I have done it, and you were right, it wasn’t that hard. I was tired and sleepy on Monday :P

    Just made this script that I will include in the end of another one:

    #!/bin/bash
    
    cd /home/pi/RetroPie-Setup
    . /home/pi/RetroPie-Setup/retropie_packages.sh
    . /home/pi/RetroPie-Setup/scriptmodules/system.sh
    . /home/pi/RetroPie-Setup/scriptmodules/helpers.sh
    . /home/pi/RetroPie-Setup/scriptmodules/packages.sh
    . /home/pi/RetroPie-Setup/scriptmodules/admin/setup.sh
    
    setup_env
    rp_registerAllModules
    
    function printMsgs() {
        local type="$1"
        shift
        for msg in "$@"; do
            [[ "$type" == "dialog" ]] && echo "$msg"
            [[ "$type" == "console" ]] && echo "$msg"
            [[ "$type" == "heading" ]] && echo -e "\n= = = = = = = = = = = = = = = = = = = = =\n$msg\n= = = = = = = = = = = = = = = = = = = = =\n"
        done
    }
    
    binaries_setup
    
    exit

    EDIT: Substituted the end dialog messages for terminal ones, so no any user intervention is required.

    in reply to: Call "Binary-based Installation" directly #101645
    rascas
    Participant

    Well, im aware of RetroPie-Setup github page and maybe thats where I should have posted this in the first place.

    I already saw the scripts in Github, and I know that there is some modules that can be called directly without running the GUI but this option seems to no be one of them. But I am not sure since my skills in bash are somewhat limited, and there are lots of functions that call another scripts. I tried to make a script already, calling sudo ./retropie_setup.sh with some sleep options and emulating a ENTER key press but with no success but is very likelly that I was doing something wrong.

    I will try again to do it myself, any suggestions how to do this are appreciated.

    Thanks

    in reply to: Call "Binary-based Installation" directly #101631
    rascas
    Participant

    Even if there is no option to call the “Binary-based Installation” directly, is there a way that i can do this in the end of a bash script in a way that no user intervention is required ?

Viewing 5 posts - 1 through 5 (of 5 total)