From 947320b10a17492c997275181fbff7fe37a4de78 Mon Sep 17 00:00:00 2001 From: gentlegiantJGC Date: Mon, 16 Mar 2026 16:52:34 +0000 Subject: [PATCH 1/2] Improve pyinstaller import hook --- .../__pyinstaller/hook-minecraft_model_reader.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/minecraft_model_reader/__pyinstaller/hook-minecraft_model_reader.py b/minecraft_model_reader/__pyinstaller/hook-minecraft_model_reader.py index 3fc1143..88358fa 100644 --- a/minecraft_model_reader/__pyinstaller/hook-minecraft_model_reader.py +++ b/minecraft_model_reader/__pyinstaller/hook-minecraft_model_reader.py @@ -1,4 +1,6 @@ from PyInstaller.utils.hooks import collect_data_files, collect_submodules datas = collect_data_files("minecraft_model_reader") -hiddenimports = collect_submodules("minecraft_model_reader") +hiddenimports = collect_submodules( + "minecraft_model_reader", includes=["**/*.png", "**/*.json", "**/*.mcmeta"] +) From 2663bb5214bf5b97811d4d76000ab74581dfe9b9 Mon Sep 17 00:00:00 2001 From: gentlegiantJGC Date: Mon, 16 Mar 2026 16:53:14 +0000 Subject: [PATCH 2/2] Bump python version --- .github/workflows/python-build.yml | 2 +- .github/workflows/python-stylecheck.yml | 2 +- .github/workflows/python-unittests.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-build.yml b/.github/workflows/python-build.yml index 7b1fcbf..03cfcce 100644 --- a/.github/workflows/python-build.yml +++ b/.github/workflows/python-build.yml @@ -12,7 +12,7 @@ jobs: runs-on: windows-latest strategy: matrix: - python-version: ['3.9'] + python-version: ['3.10'] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/python-stylecheck.yml b/.github/workflows/python-stylecheck.yml index 63eff5e..49e7156 100644 --- a/.github/workflows/python-stylecheck.yml +++ b/.github/workflows/python-stylecheck.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.9'] + python-version: ['3.10'] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/python-unittests.yml b/.github/workflows/python-unittests.yml index 32933bd..2e9aaed 100644 --- a/.github/workflows/python-unittests.yml +++ b/.github/workflows/python-unittests.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.9'] + python-version: ['3.10'] steps: - uses: actions/checkout@v4