GE Lua Documentation

Press F to search!

openReplayFolderInExplorer

Definition


-- @/lua/ge/extensions/core/replay.lua:270

local function openReplayFolderInExplorer()
  if not fileExistsOrNil('/replays/') then  -- create dir if it doesnt exist
    FS:directoryCreate("/replay/", true)
  end
  Engine.Platform.exploreFolder("/replays/")
end

Callers

@/ui/modules/replay/replay.js
  vm.openReplayFolderInExplorer = function(){
    bngApi.engineLua('core_replay.openReplayFolderInExplorer()')
  }