83 Commits

Author SHA1 Message Date
mxve
87535fb839 add delete support for dirs 2024-03-01 10:37:56 +01:00
mxve
bb66366f41 write games.json content to file on error 2024-02-20 19:54:16 +01:00
mxve
512a073b07 remove debug print 2024-02-20 01:47:35 +01:00
mxve
02c3004231 fully replace http_req with reqwest
close #43
Should also help to either resolve or at least investigate seemingly random TLS & IO errors #64 #77
2024-02-20 01:28:31 +01:00
mxve
dba849e3be add --ignore-required-files to --help 2024-02-15 01:05:42 +01:00
mxve
5ef075d4c3 add --ignore-required-files 2024-02-09 18:45:19 +01:00
mxve
e8aee89f45 check for required files 2024-02-07 12:53:43 +01:00
mxve
2760e2ab1e keep console open & exit process when game not found 2024-02-07 12:29:58 +01:00
mxve
d44ae36f86 whoopsie 2024-02-07 12:23:31 +01:00
mxve
fcdc875272 add use_https
close #70
2024-02-07 12:05:57 +01:00
mxve
32d1b129c8 only download iw4x-sp if selected
close #63
2024-02-07 11:52:21 +01:00
mxve
1dd18317cf require references
close #67
2024-02-07 11:37:34 +01:00
mxve
0e8b9285c9 fix steamlocate beta.2 2024-01-02 11:44:34 +01:00
mxve
caaf73e9f3 add support for Game.delete 2024-01-02 11:22:18 +01:00
mxve
0728561eca remove iw4 files not present on remote 2023-12-18 16:49:57 +01:00
mxve
35a1d1866f iw4 default arg -stdout; add cfg.engine 2023-11-13 15:26:28 +01:00
mxve
1e62b5ffad cleanup 2023-11-06 22:27:09 +01:00
mxve
f582cdd625 self restart 2023-11-06 03:20:46 +01:00
mxve
f0a63a241a fix existing file hashes always being calculated 2023-11-06 01:56:26 +01:00
mxve
7c37334199 improve setup_env on Windows
(real)
935a72e05be1a213a12238f522c8b35f872ecf63
2023-11-04 11:48:04 +01:00
mxve
fdcf3d31bd import std::env 2023-11-04 07:48:40 +01:00
Diavolo
935a72e05b
maint(win): improve setup_env on Windows 2023-11-04 07:27:58 +01:00
mxve
17454d4dc8 update iw4x first
so we don't have to pass the progressbar to iw4x just to not have it break by a little println
2023-11-02 11:44:08 +01:00
mxve
806118862f use String::default() for empty strings
as suggested by diamante quality control ™️
2023-11-02 11:27:43 +01:00
mxve
8c407de8fb consume 2023-11-02 10:43:36 +01:00
mxve
dacaf322d4 stream files to disk
- Greatly reduced memory usage while downloading
- Added progressbar, download rate
- Added async runtime
- Tweaks to allow usage of async download function
2023-11-02 10:39:58 +01:00
mxve
f609a53377 dc 2023-10-28 20:14:39 +02:00
mxve
24a745abff typo 2023-10-28 19:49:21 +02:00
mxve
58b57f48ad clippy 2023-10-28 19:38:53 +02:00
mxve
9c26679a5a print download size 2023-10-28 19:35:28 +02:00
mxve
b86d252c4b handle shortcut creation errors 2023-10-01 00:36:12 +02:00
mxve
5fa3332266 don't ask if --bonus set 2023-09-23 01:29:04 +02:00
mxve
93d1c9841a set current_dir when launching 2023-09-18 12:26:47 +02:00
mxve
af78ebfcaf print passed args when launching; trim args 2023-09-16 16:41:18 +02:00
Edo
fe6e3c227f
maint(main): simply return out of the main function
instead of calling exit()
2023-09-15 19:19:04 +02:00
mxve
428c75bbf2 add --help, --version/-v 2023-09-15 01:45:47 +02:00
mxve
d47ebbcb28 allow loading client args from config 2023-09-14 10:32:03 +02:00
mxve
be3c45b79d add --pass to allow passing args to the client 2023-09-14 10:23:48 +02:00
mxve
b830ab7085 remove debug print 2023-09-14 10:09:21 +02:00
mxve
be3e7c8ac1 strip value AND arg 😑 2023-09-14 10:08:26 +02:00
mxve
a5af98b0f3 add --path, -p 2023-09-14 09:44:35 +02:00
mxve
0b4c6325c7 prepend args with --, -, add short args 2023-09-14 09:37:35 +02:00
mxve
26bb7567de store file hashes; added "force" arg
close #28
2023-09-12 21:28:53 +02:00
mxve
f23acb6788 improve progress prints 2023-09-11 13:05:18 +02:00
mxve
813d0613c1 Show more progress 2023-09-10 20:00:04 +02:00
mxve
349efa4e43 download bonus content 2023-09-10 18:29:30 +02:00
mxve
86b0bb1b7a use config values 2023-09-10 17:36:01 +02:00
mxve
a7008ecbd5 check first dir when matching files to download 2023-09-10 12:38:21 +02:00
mxve
64c63bf24f obtain iw4x.dll from iw4x/iw4x-client 2023-08-29 21:53:47 +02:00
mxve
63f160ff4a seperate into multiple source files 2023-08-29 06:51:40 +02:00