The --update flag accepts the file no rather than goes to download. Simpler. Better. Don't need the entire download.rs file now
10 lines
279 B
Bash
Executable File
10 lines
279 B
Bash
Executable File
#!/bin/sh
|
|
|
|
SCRYFALL_BULK=$(rofi -modi filebrowser -show filebrowser -filebrowser-command printf)
|
|
echo "$SCRYFALL_BULK"
|
|
|
|
/home/arthurr/code/mini_projects/scryfall_deser/target/debug/scryfall_deser --update "$SCRYFALL_BULK"
|
|
|
|
# TODO - check return value
|
|
rofi -e "Should be updated"
|