Re: SH3D & Tools linux install & config -my way

by Keet » Wed Jun 21, 2023 3:01 pm

Yep, I tried all classic ways too.

The strange thing is this works directly in the terminal:

Code: Select all

java -jar /[path-to-editor]/FurnitureLibraryEditor-1.30.jar -open "/[my-SH3D-path]/furniture libraries/mylibrary.sh3f"
But when I translate that into this .sh script:

Code: Select all

#!/bin/sh
java -jar /[path-to-editor]/FurnitureLibraryEditor-1.30.jar -open $0
It does open the editor but does not load the passed library file. That's something I can not explain. The $0 parameter should pass the file complete with path so I see no difference with putting it directly into the terminal.