From 852eb627386ce3a191a95e3b913fc8043faafed0 Mon Sep 17 00:00:00 2001 From: dark0dave Date: Wed, 11 Sep 2024 17:15:13 +0900 Subject: [PATCH] chore(pre-commit): Bump pre-commit Signed-off-by: dark0dave --- .github/workflows/main.yaml | 1 - .pre-commit-config.yaml | 8 +++++++- README.md | 10 +++++----- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 3571aac..5e1c833 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -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 - diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index eac1de7..d371fe7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 @@ -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] diff --git a/README.md b/README.md index c336fad..988e9de 100644 --- a/README.md +++ b/README.md @@ -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 - --game-directory - --weidu-binary +mod_installer(.exe) [OPTIONS] + --log-file + --game-directory + --weidu-binary --mod-directories ``` Let's break down what each part means: @@ -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: