1
0
mirror of https://github.com/skywind3000/z.lua synced 2026-03-17 13:19:48 +00:00

[=] cont. change variable

This commit is contained in:
manhong2112
2019-02-04 04:07:55 +08:00
parent c7d5f3b085
commit cae9749e2c

4
z.lua
View File

@@ -2221,8 +2221,8 @@ Init-ZLua
-----------------------------------------------------------------------
function z_windows_init(opts)
if opts.powershell ~= nil then
print('$LuaExe = "' .. os.interpreter() .. '"')
print('$LuaScript = "' .. os.scriptname() .. '"')
print('$ZLUA_LUAEXE = "' .. os.interpreter() .. '"')
print('$ZLUA_SCRIPT = "' .. os.scriptname() .. '"')
if opts.enhanced ~= nil then
print('$env:_ZL_MATCH_MODE = 1')
end