mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-07-04 06:38:27 +08:00
Use flutterw
This commit is contained in:
@ -7,8 +7,8 @@ cd ..
|
||||
|
||||
FILTER="$1"
|
||||
|
||||
DEVICE=$(flutter devices --device-timeout=1 --machine | jq -r '.[].name' | fzf -1 -q "$FILTER")
|
||||
DEVICE_INFO=$(flutter devices --machine | jq -r ".[] | select(.name==\"$DEVICE\")")
|
||||
DEVICE=$(./flutterw devices --device-timeout=1 --machine | jq -r '.[].name' | fzf -1 -q "$FILTER")
|
||||
DEVICE_INFO=$(./flutterw devices --machine | jq -r ".[] | select(.name==\"$DEVICE\")")
|
||||
DEVICE_ID=$(echo "$DEVICE_INFO" | jq -r .id)
|
||||
DEVICE_TARGET=$(echo "$DEVICE_INFO" | jq -r .targetPlatform)
|
||||
|
||||
|
Reference in New Issue
Block a user