New on MorphOS-Storage
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Papiosaur
    Posts: 1510 from 2003/4/10
    From: France
    Hello everyone,

    I am pleased to announce something new on MorphOS-Storage and soon on Amiga-Storage as well.

    You may have noticed, there is a new green icon that has appeared.

    This is a link to a script to download, unarchive and launch the program.

    To make it operational, you just have to create in Odyssey a mimetype for the text/install files and therefore the extension "install" with as "external" viewer "sys:morphos/c/execute" and choose %f on the right for "generated local path"

    Then click on the green icon corresponding to what you want to install.

    There is still a lot of script to do ...



    [ Edité par Papiosaur 24.10.2021 - 20:41 ]
  • »21.10.21 - 11:40
    Profile Visit Website
  • jPV
  • Paladin of the Pegasos
    Paladin of the Pegasos
    jPV
    Posts: 1810 from 2003/2/24
    From: po-RNO
    Couple quick notes:

    1) Tried with Feedback 11 installer: installer points to a .zip file, which doesn't work. It should be pointing to .lha file

    2) This line produces an extra quotation mark at the end of the output line:
    Code:
    echo "Feedback 11 has just been installed to$dest

    I would replace it with this for a cleaner solution:
    Code:
    echo "Feedback 11 has just been installed to " noline
    echo $dest


    3) These lines won't work, because if you click No in the requester it gives you 0, not 2.
    Code:
    if $start eq "2"
    if $install eq "2"

    So do this if you want it to close the window with No:
    Code:
    if $start eq "0"
    if $install eq "0"


    4) You could also be using Else there.. maybe it would be more elegant :) Like this:
    Code:
      if $start eq "1"
    cd $dest
    open void-FB11/
    run void-FB11/void-fb11.exe
    else
    endcli
    endif

    Unless you plan to add more options there later...
  • »21.10.21 - 17:14
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Papiosaur
    Posts: 1510 from 2003/4/10
    From: France
    Problem resolved ;-)

    If some guys would like help me to add some scripts, you are welcome :-D

    The model is similar for all archives, you can take model as this script:
    https://www.morphos-storage.net/misc/qrcodelab_0.8.install

    You must change paths and names.

    You can send me your script(s) to papiosaur2 à hotmail.fr

    The name of the script must be similar of the archive name and add .install.

    Thanks for your help ;-)

    [ Edité par Papiosaur 23.10.2021 - 12:27 ]
  • »22.10.21 - 20:01
    Profile Visit Website