Skip to content

Commit

Permalink
Provide VCRedist for some reason
Browse files Browse the repository at this point in the history
  • Loading branch information
NQNStudios committed May 30, 2024
1 parent d27191f commit 5ffbd5c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -404,12 +404,12 @@ elif platform == "win32":
break
# Extra: Microsoft redistributable libraries installer
if 'msvc' in env["TOOLS"]:
if path.exists("dep/VCRedistInstall.exe"):
env.Install("build/Blades of Exile/", "dep/VCRedistInstall.exe")
if path.exists("deps/VCRedistInstall.exe"):
env.Install("build/Blades of Exile/", "deps/VCRedistInstall.exe")
else:
print("WARNING: Cannot find installer for the MSVC redistributable libraries for your version of Visual Studio.")
print("Please download it from Microsoft's website and place it at:")
print(" dep/VCRedistInstall.exe")
print(" deps/VCRedistInstall.exe")
# Create it so its lack doesn't cause makensis to break
# (Because the installer is an optional component.)
open("build/Blades of Exile/VCRedistInstall.exe", 'w').close()
Expand Down
Binary file added deps/VCRedistInstall.exe
Binary file not shown.

0 comments on commit 5ffbd5c

Please sign in to comment.