Fix FFI backup and print path in patcher script
This commit is contained in:
parent
a9d32a2950
commit
f2b1609320
2 changed files with 6 additions and 6 deletions
|
@ -1,10 +1,5 @@
|
||||||
local mod_directory = "./../mods"
|
local mod_directory = "./../mods"
|
||||||
|
|
||||||
-- Mod initialization code --
|
|
||||||
local debug = debug
|
|
||||||
local io = io
|
|
||||||
local ffi = ffi
|
|
||||||
|
|
||||||
local assert = assert
|
local assert = assert
|
||||||
local ipairs = ipairs
|
local ipairs = ipairs
|
||||||
local loadstring = loadstring
|
local loadstring = loadstring
|
||||||
|
@ -20,6 +15,11 @@ local table = table
|
||||||
local tonumber = tonumber
|
local tonumber = tonumber
|
||||||
local tostring = tostring
|
local tostring = tostring
|
||||||
|
|
||||||
|
-- Mod initialization code --
|
||||||
|
local debug = rawget(_G, "debug")
|
||||||
|
local io = rawget(_G, "io")
|
||||||
|
local ffi = require("ffi")
|
||||||
|
|
||||||
Mods = {
|
Mods = {
|
||||||
file = {},
|
file = {},
|
||||||
message = {},
|
message = {},
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
@echo off
|
@echo off
|
||||||
echo Starting Darktide patcher...
|
echo Starting Darktide patcher from %~dp0...
|
||||||
.\tools\dtkit-patch --toggle .\bundle
|
.\tools\dtkit-patch --toggle .\bundle
|
||||||
if errorlevel 1 goto failure
|
if errorlevel 1 goto failure
|
||||||
pause
|
pause
|
||||||
|
|
Loading…
Add table
Reference in a new issue