Skip to content

Commit

Permalink
feat: self-update
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mxve committed Aug 12, 2023
1 parent 5da40e8 commit 9205c0b
Show file tree
Hide file tree
Showing 3 changed files with 226 additions and 63 deletions.
115 changes: 110 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,16 @@ semver = "1.0.18"
[target.'cfg(windows)'.dependencies]
steamlocate = "1.2.1"
mslnk = "0.1.8"
# https://github.com/mitsuhiko/self-replace/pull/16/
windows-sys = { version = "0.48", features = [
"Win32_Security",
] }
self-replace = "1.3.5"

[build-dependencies]
winres = "0.1.12"

[package.metadata.winres]
OriginalFilename = "alterware-launcher.exe"
FileDescription = "AlterWare mod updater & launcher"
FileDescription = "AlterWare Launcher"
ProductName = "AlterWare Launcher"
Loading

0 comments on commit 9205c0b

Please sign in to comment.