Fixing resources path.

This commit is contained in:
sergiotarxz 2022-07-10 15:39:59 +02:00
parent ed89c0bc52
commit ee01ae9677
2 changed files with 2 additions and 1 deletions

View File

@ -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);

View File

@ -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", ".");