Skip to content

Commit

Permalink
chore(pre-commit): Bump pre-commit
Browse files Browse the repository at this point in the history
Signed-off-by: dark0dave <[email protected]>
  • Loading branch information
dark0dave committed Sep 11, 2024
1 parent a5a52b9 commit 852eb62
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
1 change: 0 additions & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,3 @@ jobs:
asset_path: ./mod_installer${{ matrix.suffix }}
asset_name: mod_installer-${{ matrix.target }}${{ matrix.suffix }}
asset_content_type: application/octet-stream

8 changes: 7 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ repos:
exclude: (?x)^(docs)
- id: git-dirty
stages: [pre-commit]
- id: git-check
stages: [pre-commit]

- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.5.5
Expand All @@ -35,9 +37,13 @@ repos:
stages: [pre-commit]
- id: remove-crlf
stages: [pre-commit]
- id: forbid-tabs
stages: [pre-commit]
- id: remove-tabs
stages: [pre-commit]

- repo: https://github.com/commitizen-tools/commitizen
rev: v3.27.0
rev: v3.29.0
hooks:
- id: commitizen
stages: [commit-msg]
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ or you can grab it from the latest releases page on github, [here](https://githu
To use the Infinity Engine Mod Installer, you need to run it from the command line. Here's the basic structure of the command:

```sh
mod_installer(.exe) [OPTIONS]
--log-file <LOG_FILE>
--game-directory <GAME_DIRECTORY>
--weidu-binary <WEIDU_BINARY>
mod_installer(.exe) [OPTIONS]
--log-file <LOG_FILE>
--game-directory <GAME_DIRECTORY>
--weidu-binary <WEIDU_BINARY>
--mod-directories <MOD_DIRECTORIES>
```
Let's break down what each part means:
Expand Down Expand Up @@ -197,7 +197,7 @@ Name|Category|Description|Example

Note: **All words/phrases are compared in lowercase ascii.**

If you wish to changes the above; or you are using a different game language (apologies for not translating all of this); have found a exemption; or just want to change the way the parser works you'll need to create your own mod_installer.toml.
If you wish to changes the above; or you are using a different game language (apologies for not translating all of this); have found a exemption; or just want to change the way the parser works you'll need to create your own mod_installer.toml.

We use the rust crate [`confy`](https://crates.io/crates/confy) to load configuration. Confy uses the rust crate [`directories`](https://crates.io/crates/directories) to find the the expected path for your operating system. The `directories` crate uses:

Expand Down

0 comments on commit 852eb62

Please sign in to comment.