Skip to content

hardcoded references to hack folder #5752

@ab9rf

Description

@ab9rf

There are several places in DFHack that assume that the hack folder is in the current working directory, an assumption that we can no longer assume to be true. These hardcoded references need to be rewritten to use Core::getInstance().getHackPath().

There is one library reference:

  • library/DFSteam.cpp

There are three plugins:

  • plugins/dig.cpp
  • plugins/orders.cpp
  • plugins/pathable.cpp

I didn't find any in Lua scripts - it appears that all Lua scripts are already using getHackPath

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions