LuaMinify icon indicating copy to clipboard operation
LuaMinify copied to clipboard

"_lua" in path breaks param2

Open zgushonka opened this issue 7 months ago • 0 comments

Got unpredictable behaviour if output path contains _lua string. e.g. \tmp\lua_mini_test\booster.lua

Possible solution: in CommandLineMinify.lua and / or similar places:

line 66-67:
	--keep the user from accidentally overwriting their non-minified file with 
	if arg[1]:find("_min") then

->	
        --keep the user from accidentally overwriting their non-minified file with 
	if arg[1]:find("_min.lua") then

zgushonka avatar Jul 16 '24 11:07 zgushonka