Trying again to move the dll to destdir

This commit is contained in:
sergiotarxz 2022-07-10 16:53:14 +02:00
parent d991e21b59
commit 1db1f8e012
2 changed files with 1 additions and 4 deletions

View File

@ -15,13 +15,9 @@ $resources->mkpath;
copy_recursive('/home/sergio/recuento_root/usr/bin/recuento{,_launcher_windows}.exe', $recuento_inner);
copy_recursive('/home/sergio/recuento_root/usr/bin/rsvg-convert.exe', $recuento_inner);
copy_recursive('/home/sergio/recuento_root/usr/bin/rsvg-convert.exe', $destdir);
copy_recursive('/home/sergio/recuento_root/usr/bin/*.{dll,DLL}', $recuento_inner);
copy_recursive('/home/sergio/recuento_root/usr/bin/*.{dll,DLL}', $destdir);
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);
copy_recursive('/usr/x86_64-w64-mingw32/usr/bin/libwinpthread-1.dll', $destdir);
copy_recursive('/usr/lib/gcc/x86_64-w64-mingw32/11.3.0/libstdc++-6.dll', $recuento_inner);
copy_recursive('/usr/lib/gcc/x86_64-w64-mingw32/11.3.0/libstdc++-6.dll', $destdir);
copy_recursive('/home/sergio/recuento_root/usr/share/recuento/', $resources);
move_launcher ($recuento_inner, $destdir);

View File

@ -101,6 +101,7 @@ WINAPI WinMain(HINSTANCE hInstance, HINSTANCE, LPSTR pCmdLine, int nCmdShow)
_putenv_s("GSETTINGS_SCHEMA_DIR", "share\\\\glib-2.0\\\\schemas");
_putenv_s("XDG_DATA_HOME", "share");
_putenv_s("XDG_CONFIG_DIRS", "etc");
_putenv_s("PATH", owl_path_get_path (owl_path_cwd ()));
int return_value = execvp(argument_list[0], argument_list);
if (return_value == -1) {