Skip to content

Commit

Permalink
Move the dcraw_emu executable into its own folder
Browse files Browse the repository at this point in the history
This prevents any conflicts with other plugins when linking to the
OpenMP DLL.
  • Loading branch information
0xC0000054 committed Aug 27, 2021
1 parent 984d10b commit 0b511db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ A [LibRaw](https://github.com/LibRaw/LibRaw)-based camera raw filetype plugin fo
## How to install the plugin

1. Close Paint.NET.
2. Place RawFileType.dll, dcraw_emu.exe and RawFileTypeOptions.txt in the Paint.NET FileTypes folder which is usually located in one the following locations depending on the Paint.NET version you have installed.
2. Place RawFileType.dll, RawFileTypeOptions.txt and the LibRaw folder in the Paint.NET FileTypes folder which is usually located in one the following locations depending on the Paint.NET version you have installed.

Paint.NET Version | FileTypes Folder Location
--------|----------
Expand Down
2 changes: 1 addition & 1 deletion RawFileType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ namespace RawFileTypePlugin
[PluginSupportInfo(typeof(PluginSupportInfo))]
public sealed class RawFileType : FileType
{
private static readonly string ExecutablePath = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "dcraw_emu.exe");
private static readonly string ExecutablePath = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "LibRaw\\dcraw_emu.exe");
private static readonly string OptionsFilePath = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "RawFileTypeOptions.txt");

public RawFileType() : base(
Expand Down

0 comments on commit 0b511db

Please sign in to comment.