Skip to content

Commit 0059827

Browse files
committed
ship d3dx9_25.dll in repository for easier installer creation
1 parent 46afad0 commit 0059827

File tree

5 files changed

+2
-1
lines changed

5 files changed

+2
-1
lines changed

src-tauri/extra/d3dx9_25.dll

2.23 MB
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.

src-tauri/nsis/installer.nsi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ ${StrLoc}
2828
!define HEADERIMAGE ""
2929
!define MAINBINARYNAME "omp-launcher"
3030
!define MAINBINARYSRCPATH "${__FILEDIR__}\..\..\omp-launcher.exe"
31+
!define CUSTOMDXFILEPATH "${__FILEDIR__}\..\..\..\..\..\extra\d3dx9_25.dll"
3132
!define BUNDLEID "mp.open.launcher"
3233
!define COPYRIGHT ""
3334
!define OUTFILE "nsis-output.exe"
@@ -544,7 +545,7 @@ Section Install
544545

545546
; Copy d3dx9_25.dll
546547
SetOutPath $SYSDIR
547-
File "c:\windows\system32\d3dx9_25.dll"
548+
File "${CUSTOMDXFILEPATH}"
548549
SetOutPath $INSTDIR
549550

550551
; Copy resources

0 commit comments

Comments
 (0)