GE Lua Documentation

Press F to search!

openEntryInExplorer

Definition


-- @/lua/ge/extensions/core/modmanager.lua:81

local function openEntryInExplorer(filename)
  if not mods[filename] then return end

  if mods[filename].unpackedPath then
    Engine.Platform.exploreFolder(mods[filename].unpackedPath)
  end
end

Callers

@/ui/modules/repository/repository.js
  vm.openInExplorer = function() {
    bngApi.engineLua('core_modmanager.openEntryInExplorer("' + vm.localData.modname + '")')
  }
@/ui/modules/modmanager/modmanager.js
  $scope.openInExplorer = function() {
    bngApi.engineLua('core_modmanager.openEntryInExplorer("' + $scope.mod.modname + '")')
  }
@/ui/modules/automation/automation.js
  vm.openInExplorer = function() {
    bngApi.engineLua('core_modmanager.openEntryInExplorer("' + vm.localData.modname + '")')
  }