Skip to content

Commit 80244be

Browse files
committed
Fix Windows Fluidsynth external download
1 parent 24a0826 commit 80244be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ShaderFlow/Modules/Piano.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ def fluid_load(self, sf2: Path, driver: str=("pulseaudio" if BrokenPlatform.OnLi
298298
# Download FluidSynth for Windows
299299
if BrokenPlatform.OnWindows:
300300
FLUIDSYNTH = "https://github.com/FluidSynth/fluidsynth/releases/download/v2.3.4/fluidsynth-2.3.4-win10-x64.zip"
301-
BrokenPath.extract(BrokenPath.download(FLUIDSYNTH), BROKEN.DIRECTORIES.EXTERNALS, PATH=True)
301+
BrokenPath.add_to_path(BrokenPath.extract(BrokenPath.download(FLUIDSYNTH), BROKEN.DIRECTORIES.EXTERNALS), recurse=True)
302302
elif BrokenPlatform.OnMacOS:
303303
if not shutil.which("fluidsynth"):
304304
shell("brew", "install", "fluidsynth")

0 commit comments

Comments
 (0)