Skip to content

Commit

Permalink
使用fs库
Browse files Browse the repository at this point in the history
  • Loading branch information
sumneko committed Jun 4, 2018
1 parent 7b2b0f2 commit 4a9850d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions w3x2lni/plugin/资源保护.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ mt.info = {

function mt:on_full(w2l)
if w2l.input_mode == 'lni' and (w2l.setting.mode == 'obj' or w2l.setting.mode == 'slk') then
local fs = require 'fs'
if fs.exists(w2l.setting.input / 'resource') then
return
end
Expand Down

0 comments on commit 4a9850d

Please sign in to comment.