Make the Modernization Tool UI scaling-safe #13

Merged
Dusk-92 merged 7 commits from test/ui-scaling into main 2026-09-06 07:30:31 +00:00
Showing only changes of commit 7841c58a64 - Show all commits
+4 -3
View File
@@ -6,6 +6,7 @@ on:
- 'main' - 'main'
- 'feature/client-tweaks' - 'feature/client-tweaks'
- 'test/discord-presence' - 'test/discord-presence'
- 'test/ui-scaling'
tags: tags:
- 'v*' - 'v*'
pull_request: pull_request:
@@ -51,7 +52,7 @@ jobs:
run: python scripts/prepare_remote_fallbacks.py run: python scripts/prepare_remote_fallbacks.py
- name: Syntax check - name: Syntax check
run: python -m py_compile setup_tool.py setup_tool_dynamic.py remote_packages.py tests/test_safety.py scripts/prepare_remote_fallbacks.py run: python -m py_compile setup_tool.py setup_tool_dynamic.py remote_packages.py tests/test_safety.py scripts/prepare_remote_fallbacks.py ui_scaling_test.py
- name: Unit safety tests - name: Unit safety tests
run: python -m unittest discover -s tests -v run: python -m unittest discover -s tests -v
@@ -66,7 +67,7 @@ jobs:
--add-data "Payload;Payload" --add-data "Payload;Payload"
--add-data "vanilla-tweaks.exe;." --add-data "vanilla-tweaks.exe;."
--name "WoW_Modernization_Tool" --name "WoW_Modernization_Tool"
setup_tool_dynamic.py ui_scaling_test.py
- name: Verify EXE exists - name: Verify EXE exists
shell: pwsh shell: pwsh
@@ -87,7 +88,7 @@ jobs:
if: ${{ !startsWith(github.ref, 'refs/tags/') && !(github.ref == 'refs/heads/main' && github.event.head_commit.message == 'release v2.3') }} if: ${{ !startsWith(github.ref, 'refs/tags/') && !(github.ref == 'refs/heads/main' && github.event.head_commit.message == 'release v2.3') }}
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: WoW_Modernization_Tool-test name: WoW_Modernization_Tool-ui-scaling-test
path: | path: |
dist/WoW_Modernization_Tool.exe dist/WoW_Modernization_Tool.exe
dist/WoW_Modernization_Tool.zip dist/WoW_Modernization_Tool.zip