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:
2025-08-21 00:18:26 +01:00
parent 9f9a0b1fb7
commit af1ac9b5fa
3 changed files with 14 additions and 6 deletions

View 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"