Skip to content

noahc3/AffinityPluginLoader

Repository files navigation

Affinity Plugin Loader

A managed code plugin loader & injector hook for Affinity by Canva (Affinity v3).

APL gives you a simple method to load custom code into Affinity and perform custom patches at runtime using the Harmony library. No more patching DLL files on disk.

APL supports Windows and Linux (Wine). MacOS support is not planned at this time.

image

Tip

📖 Full documentation is available at apl.ncuroe.dev

Quick Start

  1. Download affinitypluginloader-vX.X.X-amd64.zip from the latest release.
  2. Extract into your Affinity install directory.
  3. Launch AffinityHook.exe instead of Affinity.exe.

For detailed installation instructions, see the Installation Guide.

Developing Plugins

Plugins extend AffinityPlugin and use Harmony to patch Affinity methods at runtime. See the Creating a Plugin guide for the full walkthrough, including the plugin lifecycle, settings API, and build instructions.

WineFix

WineFix is an APL plugin that fixes Wine-specific Affinity bugs. See WineFix/ for an overview, or the WineFix docs for full details.

Licensing

APL (AffinityHook, AffinityBootstrap, AffinityPluginLoader) is licensed under the MIT License. See the LICENSE file under each project directory.

Warning

WineFix is offered under a different license. See WineFix#Licensing for information.

License Exemption

Canva and its subsidiaries are exempt from MIT licensing and may (at its option) instead license any source code authored for the Affinity Hook, Affinity Bootstrap, and Affinity Plugin Loader projects under the Zero-Clause BSD license.

Credits

Big thanks to the following projects:

About

Plugin hook and loader for Affinity by Canva (Affinity v3) using Harmony. Supports Windows and Linux under Wine. Winefix plugin included to improve Affinity compatibility with Linux under Wine.

Topics

Resources

Stars

Watchers

Forks

Sponsor this project

  •  

Contributors