Commit Graph

59 Commits

Author SHA1 Message Date
mxve
48f6a96a01 pwettify comfig file :3 2023-09-18 16:29:37 +02:00
mxve
59f1b09337 set current_dir when launching 2023-09-18 12:26:47 +02:00
mxve
78e155408e print passed args when launching; trim args 2023-09-16 16:41:18 +02:00
Edo
48851fa8d3 maint(main): simply return out of the main function
instead of calling exit()
2023-09-15 19:19:04 +02:00
mxve
b408f13cce add --help, --version/-v 2023-09-15 01:45:47 +02:00
mxve
959c3a8a61 allow loading client args from config 2023-09-14 10:32:03 +02:00
mxve
65094d4701 add --pass to allow passing args to the client 2023-09-14 10:23:48 +02:00
mxve
a20b1acdda remove debug print 2023-09-14 10:09:21 +02:00
mxve
75b1d6254b strip value AND arg 😑 2023-09-14 10:08:26 +02:00
mxve
65f05a5a1c add --path, -p 2023-09-14 09:44:35 +02:00
mxve
fa6bdc9f29 prepend args with --, -, add short args 2023-09-14 09:37:35 +02:00
mxve
c41a843315 store file hashes; added "force" arg
close #28
2023-09-12 21:28:53 +02:00
mxve
209b599120 improve progress prints 2023-09-11 13:05:18 +02:00
mxve
9f00b0c0e7 Show more progress 2023-09-10 20:00:04 +02:00
mxve
aaede9b6cb download bonus content 2023-09-10 18:29:30 +02:00
mxve
8a14008706 use config values 2023-09-10 17:36:01 +02:00
mxve
ad7e78ec47 cfg 2023-09-10 16:58:42 +02:00
mxve
3e1a266c3e check first dir when matching files to download 2023-09-10 12:38:21 +02:00
mxve
ffa379e6dd 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
a41375a791 github::latest -> latest_tag 2023-08-30 12:46:13 +02:00
mxve
12ccc9554f update iw4x if dll doesn't exist 2023-08-29 22:12:42 +02:00
mxve
c117eaeb31 whoops/v0.4.6 2023-08-29 22:00:31 +02:00
mxve
f09271c29c obtain iw4x.dll from iw4x/iw4x-client 2023-08-29 21:53:47 +02:00
mxve
b71c15cb8e update io::unzip 2023-08-29 06:59:04 +02:00
mxve
cc00cad4f2 add io::unzip 2023-08-29 06:51:44 +02:00
mxve
6a16299cee seperate into multiple source files 2023-08-29 06:51:40 +02:00
mxve
322fd2f98a linting 2023-08-26 20:59:38 +02:00
mxve
e061bca7a3 feat: manual client selection
fix: crash if steam not installed/steamdir is none
2023-08-26 20:53:41 +02:00
mxve
87e86cc954 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
79559fe46a Don't ask what client to launch if update is set 2023-08-18 13:36:06 +02:00
mxve
4d3c6b9dab update after windows setup; match cur dir to steam dirs 2023-08-18 12:51:51 +02:00
mxve
2195f42abc fix: unix.. again 2023-08-17 20:26:08 +02:00
mxve
f7635d4089 return 101 when restart is required after self-update 2023-08-17 18:32:32 +02:00
mxve
e041df80c5 don't copy if current & target path are the same 2023-08-16 13:00:15 +02:00
mxve
b157bcb2c2 remove cache busting 2023-08-16 12:57:27 +02:00
mxve
0be3adf8d1 v0.4.0 2023-08-15 13:02:32 +02:00
mxve
59f347462d fix: remove windows target from get_input 2023-08-15 11:13:59 +02:00
mxve
78e4e18176 fix: don't run setup_client_links on unix 2023-08-15 11:10:40 +02:00
mxve
c80765d091 feat: support multiple clients per game
- Game.client changed from str to Vec<str>
- Create launch shortcuts for multi-client games
- Add prompt if multiple clients available and none specified
2023-08-15 09:45:18 +02:00
mxve
6ec4deed32 feat(flag): skip-launcher-update 2023-08-12 15:26:35 +02:00
mxve
83e1f67d0d fix: don't even look at it 2023-08-12 14:33:25 +02:00
mxve
b83720af0a fix: unix build 2023-08-12 14:31:58 +02:00
mxve
7e36b7496c feat: self-update
closes #17

- launcher updates itself (only on windows target for now)
- added cache buster to games.json request
- rearranged some functions
- file description is now "AlterWare Launcher" as it shows up in the task manager
2023-08-12 14:08:59 +02:00
mxve
98cbc2a9a7 mark get_input as windows target 2023-08-12 06:41:08 +02:00
mxve
14181845fb feat(win): setup for installed steam games
steamlocate requires steamy-vdf which requires a in the future unsupported version of nom (1.2.4). This should get fixed with a future release of steamlocate
https://github.com/WilliamVenner/steamlocate-rs/issues/19
2023-08-12 06:30:02 +02:00
mxve
e715cd5abf check for launcher update 2023-08-03 02:49:55 +02:00
mxve
d233dfb53c minor cleanup 2023-07-25 03:24:52 +02:00
Edo
33463f1a6e fix: remove return statement 2023-07-13 11:18:45 +02:00
Diavolo
02ae0459cb feat: use current time as cache busting method 2023-07-13 10:31:23 +02:00
mxve
abb583aeff Revert "windows self-update"
This reverts commit cee51300b2.
2023-06-28 15:13:41 +02:00