Skip to content

Commit

Permalink
Fix lua path for lualibs
Browse files Browse the repository at this point in the history
  • Loading branch information
nico-abram committed Jun 30, 2018
1 parent 02b7875 commit 609e5df
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Themes/_fallback/Scripts/01 requires.lua
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
local current_dir=io.popen"cd":read'*l'
package.path = package.path .. ";"..current_dir.."\\lualibs\\?.lua;"..current_dir.."\\lualibs\\?\\init.lua"
require 'pl'
class = require 'middleclass/middleclass'
Req = {}
Expand Down
7 changes: 7 additions & 0 deletions stepmania.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,10 @@ Section "Main Section" SecMain
;CreateDirectory "$INSTDIR\CDTitles"
;SetOutPath "$INSTDIR\CDTitles"
;File "CDTitles\Instructions.txt"

; install lualibs
SetOutPath "$INSTDIR"
File /r /x CVS /x .svn "lualibs"

RMDir /r "$INSTDIR\Characters\default"
CreateDirectory "$INSTDIR\Characters\default"
Expand Down Expand Up @@ -499,6 +503,8 @@ Section "Main Section" SecMain
File "Program\LIBEAY32.dll"
File "Program\libuv.dll"
File "Program\zlib1.dll"
;libcurl
File "Program\libcurl.dll"
; parallel lights
File "Program\parallel_lights_io.dll"
; others
Expand Down Expand Up @@ -935,6 +941,7 @@ Section "Uninstall"
; others
Delete "$INSTDIR\Program\dbghelp.dll"
Delete "$INSTDIR\Program\jpeg.dll"
Delete "$INSTDIR\Program\libcurl.dll"
Delete "$INSTDIR\Program\parallel_lights_io.dll"
Delete "$INSTDIR\Program\zlib1.dll"
RMDir "$INSTDIR\Program"
Expand Down

0 comments on commit 609e5df

Please sign in to comment.