Use --file-selector instead of --prompt
This commit is contained in:
parent
1fac9b9378
commit
fc4d7f1f43
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
JAR_PATH="@JAR_PATH@"
|
||||
|
||||
if [ $1 == "--prompt" ]; then
|
||||
if [ "$1" = "--file-selector" ]; then
|
||||
RESULT=$(java -jar "$JAR_PATH" $(yad --file))
|
||||
else
|
||||
RESULT=$(java -jar "$JAR_PATH" $@)
|
||||
|
Loading…
x
Reference in New Issue
Block a user