Commit Graph

91 Commits

Author SHA1 Message Date
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
mxve
5847b6a28a don't copy if current & target path are the same 2023-08-16 13:00:15 +02:00
mxve
0dda3d295f remove cache busting 2023-08-16 12:57:27 +02:00
mxve
4c4da71f6a v0.4.0 2023-08-15 13:02:32 +02:00
mxve
d11326ffde fix: remove windows target from get_input 2023-08-15 11:13:59 +02:00
mxve
ed82e072d0 fix: don't run setup_client_links on unix 2023-08-15 11:10:40 +02:00
mxve
35ebdd4118 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
35da7817d1 feat(flag): skip-launcher-update 2023-08-12 15:26:35 +02:00
mxve
7fd9381629 fix: don't even look at it 2023-08-12 14:33:25 +02:00
mxve
0a3edba1ba fix: unix build 2023-08-12 14:31:58 +02:00
mxve
9205c0b12b 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
5da40e87a5 mark get_input as windows target 2023-08-12 06:41:08 +02:00
mxve
bef4c64c81 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
bb1ab05588 check for launcher update 2023-08-03 02:49:55 +02:00
mxve
b46065a800 minor cleanup 2023-07-25 03:24:52 +02:00
Edo
21acf7893d
fix: remove return statement 2023-07-13 11:18:45 +02:00
Diavolo
27102f810a
feat: use current time as cache busting method 2023-07-13 10:31:23 +02:00
mxve
2289bcaa87 Revert "windows self-update"
This reverts commit cee51300b2.
2023-06-28 15:13:41 +02:00
mxve
f07a5684d3 delete update.bat 2023-06-22 16:48:43 +02:00
mxve
cee51300b2 windows self-update 2023-06-22 16:45:00 +02:00
mxve
b15d0eb7d7 Add "update" cli arg 2023-06-12 02:54:55 +02:00
mxve
6ae9bcabad get available mods from master 2023-06-11 18:48:27 +02:00
mxve
d25e7cf3cd Keep console open if game not found 2023-06-11 18:30:55 +02:00
mxve
d587553845 update all game-specific files, add iw6 2023-06-11 16:16:29 +02:00
mxve
4a488abb8e lint 2023-06-10 13:42:42 +02:00
mxve
872bad1b25 add hash check 2023-06-10 12:38:21 +02:00
mxve
b6933d357a 'V B ~vomiting face~'- cherry, 2023 2023-06-10 09:33:16 +02:00