mirror of
https://github.com/ksyasuda/aniwrapper.git
synced 2024-11-22 03:19:53 -08:00
add resume function to command-line download mode
This commit is contained in:
parent
5c7093daf0
commit
3c4189e3ac
@ -292,7 +292,11 @@ check_flags() {
|
||||
if [ ! -d "$dl_dir" ]; then
|
||||
mkdir -p "$dl_dir" || seppuku "Error creating directory: $dl_dir"
|
||||
fi
|
||||
if ((IS_RESUME == 1)); then
|
||||
run "-crd" "$dl_dir" "$@"
|
||||
else
|
||||
run "-cd $dl_dir" "$@"
|
||||
fi
|
||||
exit $?
|
||||
elif ((IS_ROFI == 1 && IS_PLAY_FROM_FILE == 1 && IS_CUSTOM_THEME == 1)); then
|
||||
run "-f$play_path" -T "$CFG_FILE" "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user