Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
ubruhin committed Mar 16, 2024
1 parent 44dad7e commit 6d45744
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,12 +168,6 @@ jobs:
tools: "${{ matrix.tools }}"
arch: "${{ matrix.arch }}"
cache: true
- name: Add Qt to PATH
run: |
where qmake
echo %PATH%
setx PATH "%PATH%;C:\Qt\${{ matrix.qt_full }}\${{ matrix.arch }}\bin"
echo %PATH%

# Build & test C++ modules
- name: Build libFunq
Expand All @@ -185,9 +179,9 @@ jobs:
# Note: The executables don't run yet, don't know why :-/
- name: Run libFunq tests
run: build/tests/libFunq/testLibFunq.exe
run: build\tests\libFunq\testLibFunq.exe
- name: Run protocole tests
run: build/tests/protocole/testProtocole.exe
run: build\tests\protocole\testProtocole.exe

# Server
- name: Install server
Expand Down
2 changes: 1 addition & 1 deletion server/funq_server/runner_win.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def start_subprocess(self):

def _inject_dll(self, pid, dll_path):
# Get handle to kernel32.dll.
kernel32_handle = windll.kernel32.GetModuleHandleA(b"kernel32.dll")
kernel32_handle = windll.kernel32.GetModuleHandleW(b"kernel32.dll")
if not kernel32_handle:
self._raise_windows_error("GetModuleHandleA()", kernel32_handle)

Expand Down

0 comments on commit 6d45744

Please sign in to comment.