Updated update and added an update script
The --update flag accepts the file no rather than goes to download. Simpler. Better. Don't need the entire download.rs file now
This commit is contained in:
9
scryfall_deser/scripts/update_with_rofi.sh
Executable file
9
scryfall_deser/scripts/update_with_rofi.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/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"
|
||||
Reference in New Issue
Block a user