Skip to content

Commit

Permalink
Traktor: No longer automatically install GIT client; checks if client…
Browse files Browse the repository at this point in the history
… exist and fail with error message if not.
  • Loading branch information
apistol78 committed Feb 26, 2024
1 parent 33d7c34 commit 9aa0f87
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Install 3rdp dependencies
run: ./bin/win64/releasestatic/Traktor.Run.App ./scripts/misc/update-3rdp.run
run: ./scripts/update-3rdp.bat
- name: Generate build files
run: ./scripts/build-projects-vs2022-win64.bat
- name: Build DebugShared
Expand Down
7 changes: 6 additions & 1 deletion scripts/update-3rdp.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
call %~dp0config.bat

:: Ensure GIT is installed first.
winget install --id Git.Git -e --source winget
where /q git
if errorlevel 1 (
echo GIT client is missing. Ensure it is installed and placed in your PATH.
echo Tip! "winget install --id Git.Git -e --source winget"
exit /b
)

pushd %TRAKTOR_HOME%
%TRAKTOR_HOME%/bin/win64/releasestatic/Traktor.Run.App ./scripts/misc/update-3rdp.run
Expand Down

0 comments on commit 9aa0f87

Please sign in to comment.