mirror of
https://github.com/JesseTG/melonds-ds.git
synced 2024-11-23 14:40:04 +00:00
Search for RetroArch on Windows differently
This commit is contained in:
parent
711efcbc58
commit
006c968aa2
8
.github/actions/test-deps/action.yml
vendored
8
.github/actions/test-deps/action.yml
vendored
@ -53,14 +53,6 @@ runs:
|
||||
run: |
|
||||
Invoke-WebRequest -Uri https://buildbot.libretro.com/stable/1.16.0/windows/x86_64/RetroArch.7z -OutFile RetroArch.7z
|
||||
7z x -o"$Env:ProgramFiles" RetroArch.7z
|
||||
ls "$Env:ProgramFiles\RetroArch-Win64"
|
||||
echo "$Env:ProgramFiles\RetroArch-Win64" >> "$GITHUB_PATH"
|
||||
|
||||
- name: Print the PATH (Windows)
|
||||
if: ${{ runner.os == 'Windows' }}
|
||||
shell: powershell
|
||||
run: |
|
||||
echo $Env:Path
|
||||
|
||||
- name: Download Test Files
|
||||
uses: actions/checkout@v3
|
||||
|
@ -1,7 +1,12 @@
|
||||
find_package(Python3 3.10 REQUIRED COMPONENTS Interpreter)
|
||||
|
||||
if (NOT RETROARCH)
|
||||
find_program(RETROARCH retroarch REQUIRED)
|
||||
find_program(
|
||||
RETROARCH
|
||||
retroarch
|
||||
HINTS "C:/Program Files/RetroArch" "C:/Program Files/RetroArch-Win64"
|
||||
REQUIRED
|
||||
)
|
||||
endif()
|
||||
message(STATUS "RETROARCH: ${RETROARCH}")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user