Skip to content

Commit

Permalink
add YAD
Browse files Browse the repository at this point in the history
  • Loading branch information
qurious-pixel authored Oct 23, 2023
1 parent cd9cd3b commit 26904a8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/assets/AppRun
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ mkdir -p $RPCSX_DATA_DIR/data
FIRMWARE_PATH_SET=$(grep FIRMWARE_PATH $RPCSX_DATA_DIR/rpcsx.config | awk '{print $2}')
GAME_PATH_SET=$(grep GAME_PATH $RPCSX_DATA_DIR/rpcsx.config | awk '{print $2}')

FIRMWARE_PATH=$(yad --file-selection --directory --title="Select firmware directory" --filename=$FIRMWARE_PATH_SET)
GAME_PATH=$(yad --file-selection --directory --title="Select game directory" --filename=$GAME_PATH_SET)
YAD=$APPDIR/usr/bin/yad
FIRMWARE_PATH=$($YAD --file-selection --directory --title="Select firmware directory" --filename=$FIRMWARE_PATH_SET)
GAME_PATH=$($YAD --file-selection --directory --title="Select game directory" --filename=$GAME_PATH_SET)
echo "FIRMWARE_PATH $FIRMWARE_PATH" > $RPCSX_DATA_DIR/rpcsx.config
echo "GAME_PATH $GAME_PATH" >> $RPCSX_DATA_DIR/rpcsx.config

Expand Down

0 comments on commit 26904a8

Please sign in to comment.