Skip to content
This repository was archived by the owner on Sep 14, 2022. It is now read-only.
This repository was archived by the owner on Sep 14, 2022. It is now read-only.

Current plan of attack on merging with ModTek #36

@mpstark

Description

@mpstark

Via Discord convo with @CptMoore and @m22spencer which solves most of the issues that I had with doing this sort of move.

  • Inject method containing ModTek loading code -- something like this, but tested for OS compatibility
var path = Path.Combine(Application.streamingAssetsPath, "../../Mods/ModTek.dll");
if (File.Exists(path))
    Assembly.LoadFrom(path).GetType("ModTek").GetMethod("Init").Invoke(null, null);
  • Inject method call similar to how we were doing it before, calling said method
  • Migrate LoadDLL directly into ModTek
  • Migrate Injector project into ModTek solution

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions