From fc4d7f1f433d91a064a513d8f68ae88546c279d2 Mon Sep 17 00:00:00 2001 From: Adrian Malacoda Date: Thu, 7 Oct 2021 20:05:09 -0500 Subject: [PATCH] Use --file-selector instead of --prompt --- desktop/piecannon.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/piecannon.in b/desktop/piecannon.in index 192b125..68b1ec1 100644 --- a/desktop/piecannon.in +++ b/desktop/piecannon.in @@ -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" $@)