diff --git a/build.bat b/build.bat index 48519ce..0810d4f 100644 --- a/build.bat +++ b/build.bat @@ -80,7 +80,7 @@ popd rem --- 3. Stage --- set "CSHARP_OUT=%ROOT%\shell\windows\LayersShell\bin\Release\net8.0-windows10.0.19041.0\%NET_RID%\publish" xcopy /e /i /y /q "%CSHARP_OUT%" "%APPDIR%" >nul -copy /y "%ROOT%\target\%RUST_TARGET%\release\layers.dll" "%APPDIR%\layers.dll" >nul +copy /y "%ROOT%\target\%RUST_TARGET%\release\layers.dll" "%APPDIR%\layers_native.dll" >nul if exist "%ROOT%\LICENCE" copy /y "%ROOT%\LICENCE" "%STAGE%\LICENCE" >nul xcopy /e /i /y /q "%ROOT%\resources" "%STAGE%\resources" >nul diff --git a/shell/windows/LayersShell/LayersNative.cs b/shell/windows/LayersShell/LayersNative.cs index e5c2fa0..fa6bac5 100644 --- a/shell/windows/LayersShell/LayersNative.cs +++ b/shell/windows/LayersShell/LayersNative.cs @@ -5,7 +5,7 @@ namespace LayersShell; internal static class LayersNative { - private const string Dll = "layers"; + private const string Dll = "layers_native"; private static bool _startedUp; public static void StartupIfNeeded()