Commit Graph

76 Commits

Author SHA1 Message Date
mxve
9a6b7b531a only show filename in pb 2023-11-02 11:31:50 +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
ca836bbda6 add av info on permission denied 2023-10-26 06:25:12 +02:00
mxve
4bdecabbe5 misc 2023-10-06 08:34:42 +02:00
mxve
6a8c11b101 add changelog link 2023-10-06 08:30:29 +02:00
mxve
12526d7f36 handle notfound; give tips to fix permission denied 2023-10-02 15:49:01 +02:00
mxve
f3e7a42043 Create config path if it doesn't exist; don't panic 2023-10-02 15:48:22 +02:00
mxve
fddd146361 improve logging of http errors 2023-10-02 04:39:49 +02:00
mxve
b86d252c4b handle shortcut creation errors 2023-10-01 00:36:12 +02:00
mxve
686a6e6352 build i686 target 2023-09-25 18:51:43 +02:00
mxve
5fa3332266 don't ask if --bonus set 2023-09-23 01:29:04 +02:00
mxve
d50f3b83e9 pwettify comfig file :3 2023-09-18 16:29:37 +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
32b1272ff6 cfg 2023-09-10 16:58:42 +02:00
mxve
a7008ecbd5 check first dir when matching files to download 2023-09-10 12:38:21 +02:00
mxve
932c41d369 misc
- reduce github calls
- latest_tag returns full tag
- rev_to_int default to 0 on strip_prefix
- lint
2023-08-30 13:06:49 +02:00
mxve
0ec2a44082 github::latest -> latest_tag 2023-08-30 12:46:13 +02:00
mxve
1f76f8529c update iw4x if dll doesn't exist 2023-08-29 22:12:42 +02:00
mxve
afda8902df whoops/v0.4.6 2023-08-29 22:00:31 +02:00
mxve
64c63bf24f obtain iw4x.dll from iw4x/iw4x-client 2023-08-29 21:53:47 +02:00
mxve
9dc569e646 update io::unzip 2023-08-29 06:59:04 +02:00
mxve
42f48bbaf4 add io::unzip 2023-08-29 06:51:44 +02:00
mxve
63f160ff4a seperate into multiple source files 2023-08-29 06:51:40 +02:00
mxve
030c869fec linting 2023-08-26 20:59:38 +02:00
mxve
5ad73dcc1c feat: manual client selection
fix: crash if steam not installed/steamdir is none
2023-08-26 20:53:41 +02:00
mxve
32f9fc2afe restart required ex.code 101->201
rust panic returns 101, so this wasn't a good choice
2023-08-22 11:37:34 +02:00
mxve
86b969fa26 Don't ask what client to launch if update is set 2023-08-18 13:36:06 +02:00
mxve
5c3bd72482 update after windows setup; match cur dir to steam dirs 2023-08-18 12:51:51 +02:00
mxve
f98e9ffed2 fix: unix.. again 2023-08-17 20:26:08 +02:00
mxve
58423863f5 return 101 when restart is required after self-update 2023-08-17 18:32:32 +02:00