Commit Graph
209 Commits
Author SHA1 Message Date
Oliver Hamlet aff9d546f1 Add support for additional data paths
The Microsoft Store installs Fallout 4 DLCs into separate game
directories, so allow them to be provided for evaluating conditions.
2023-04-23 11:31:25 +01:00
Oliver Hamlet 50662558ae Resolve clippy warnings 2023-04-23 08:38:24 +01:00
Oliver Hamlet e9183c4ef9 Fix code coverage badge in readme 2022-11-09 00:09:35 +00:00
Oliver Hamlet 761fb9ecfc Don't unnecessarily install rustfmt in CI 2022-11-09 00:04:41 +00:00
Oliver Hamlet 0b802e9eb3 Use cargo-llvm-cov instead of tarpaulin for code coverage
It tends to give more accurate results and run into fewer issues.
2022-11-09 00:04:41 +00:00
Oliver Hamlet ed030b6dde Update Ubuntu on GitHub Actions to 20.04
18.04 is deprecated.
2022-11-09 00:04:40 +00:00
Oliver Hamlet 9856364666 Update GitHub Actions to resolve deprecation warnings 2022-11-09 00:04:40 +00:00
Oliver Hamlet 23731c1333 Update pelite to 0.10.0 2022-11-09 00:04:40 +00:00
Oliver Hamlet f7db75bfea Stop using 7z binaries in test cases
They're not reliably available and are now causing CI failures. Instead
use libloot for the test cases that used 7z, and update it because older
versions of libloot incorrectly use "ProductVERSION " instead of
"ProductVersion".
2022-11-09 00:04:38 +00:00
Oliver Hamlet d283bae744 Update version numbers and changelog for v2.3.1 2.3.1 2022-09-15 22:32:32 +01:00
Oliver Hamlet 977cf26d40 Update esplugin to 4.0.0 2022-09-15 22:20:51 +01:00
Oliver Hamlet 522fe26185 Apply clippy suggestion 2022-09-15 22:08:08 +01:00
Oliver Hamlet f6c64deb55 Update GitHub Actions cargo caching
To reflect latest example config given by actions/cache.
2022-09-15 22:06:35 +01:00
Oliver Hamlet 6164c6b8e6 Remove use of 'as' keyword
It was used for an unnecessary pointer cast, and a enum value
cast (which needed tests to make sure those values didn't change over
time).
2022-09-15 22:06:35 +01:00
Oliver HamletandGitHub 33cb1a0aff Merge pull request #20 from loot/dependabot/cargo/criterion-0.4.0
Update criterion requirement from 0.3.0 to 0.4.0
2022-09-12 18:16:40 +01:00
dependabot[bot]andGitHub 628b64ffb6 Update criterion requirement from 0.3.0 to 0.4.0
Updates the requirements on [criterion](https://github.com/bheisler/criterion.rs) to permit the latest version.
- [Release notes](https://github.com/bheisler/criterion.rs/releases)
- [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bheisler/criterion.rs/compare/0.3.0...0.4.0)

---
updated-dependencies:
- dependency-name: criterion
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-12 03:02:29 +00:00
Oliver HamletandGitHub d03964f881 Merge pull request #19 from loot/dependabot/cargo/cbindgen-0.24
Update cbindgen requirement from 0.20 to 0.24
2022-06-08 08:37:02 +01:00
dependabot[bot]andGitHub ededddf0c6 Update cbindgen requirement from 0.20 to 0.24
Updates the requirements on [cbindgen](https://github.com/eqrion/cbindgen) to permit the latest version.
- [Release notes](https://github.com/eqrion/cbindgen/releases)
- [Changelog](https://github.com/eqrion/cbindgen/blob/master/CHANGES)
- [Commits](https://github.com/eqrion/cbindgen/compare/v0.20.0...v0.24.2)

---
updated-dependencies:
- dependency-name: cbindgen
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-08 03:03:27 +00:00
Oliver Hamlet 85e92873bd Update versions and changelog for v2.3.0 2.3.0 2022-02-27 08:26:49 +00:00
Oliver Hamlet 548793ba34 Add readable(path) condition function
It returns true if the path is a directory that can be read, or if
it is not a directory and can be opened as a file in read-only mode.

This is being added to allow conditions to guard against trying to
read the version of an executable that exists but is unreadable,
e.g. any of the official game executables for games installed
through the Microsoft Store or Xbox app.

The Windows test for evaling with an unreadable file doesn't use a
file that's unreadable for the same reason as what's motivating this
new function, but the error that is handled when checking the file
is the same kind (permission denied).
2022-02-27 08:24:22 +00:00
Oliver Hamlet a17542c0e9 Update versions and changelog for v2.2.2 2.2.2 2022-02-04 16:52:51 +00:00
Oliver Hamlet d874dfcdbc Fix comparisons of versions with and without a pre-release ID
Semver says that 1.0.0-alpha < 1.0.0 but the comparison didn't account
for this case.
2022-02-04 16:22:55 +00:00
Oliver Hamlet 6127a7973a Add bcrypt library to fix C/C++ linking on Windows 2022-01-23 22:18:03 +00:00
Oliver Hamlet aa3dabab8d Apply changes suggested by clippy lints 2022-01-23 22:17:35 +00:00
Oliver HamletandGitHub 1ca8bb1e49 Merge pull request #14 from loot/dependabot/cargo/nom-7.0.0
Update nom requirement from 6.0.0 to 7.0.0
2021-08-23 08:21:57 +01:00