From ee01ae96779d777f031bc3f67b5895db1a416f8e Mon Sep 17 00:00:00 2001 From: sergiotarxz Date: Sun, 10 Jul 2022 15:39:59 +0200 Subject: [PATCH] Fixing resources path. --- package.pl | 1 + src/windows/launcher.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.pl b/package.pl index c83fb22..0375bd0 100644 --- a/package.pl +++ b/package.pl @@ -14,6 +14,7 @@ my $resources = $recuento_inner->child('resources'); $resources->mkpath; copy_recursive('/home/sergio/recuento_root/usr/bin/*.{exe,EXE}', $recuento_inner); copy_recursive('/home/sergio/recuento_root/usr/bin/*.{dll,DLL}', $destdir); +copy_recursive('/home/sergio/recuento_root/usr/bin/*.{dll,DLL}', $recuento_inner); copy_recursive('/usr/lib/gcc/x86_64-w64-mingw32/11.3.0/libgcc_s_seh-1.dll', $recuento_inner); copy_recursive('/usr/lib/gcc/x86_64-w64-mingw32/11.3.0/libgcc_s_seh-1.dll', $destdir); copy_recursive('/usr/x86_64-w64-mingw32/usr/bin/libwinpthread-1.dll', $recuento_inner); diff --git a/src/windows/launcher.c b/src/windows/launcher.c index fecf540..6d1c195 100644 --- a/src/windows/launcher.c +++ b/src/windows/launcher.c @@ -97,7 +97,7 @@ WINAPI WinMain(HINSTANCE hInstance, HINSTANCE, LPSTR pCmdLine, int nCmdShow) installKbdus (); } - _putenv_s("DATADIR_RECUENTO", "recuento\\\\resources/"); + _putenv_s("DATADIR_RECUENTO", "recuento\\\\resources"); _putenv_s("GSETTINGS_SCHEMA_DIR", "share\\\\glib-2.0\\\\schemas"); _putenv_s("XDG_CONFIG_DIRS", "etc"); _putenv_s("PATH", ".");