From 3dd49332699a0131c608fcac0d31f1f33e9a232f Mon Sep 17 00:00:00 2001 From: sergiotarxz Date: Sun, 10 Jul 2022 17:06:06 +0200 Subject: [PATCH] Removing path and duplication dlls --- package.pl | 1 + src/windows/launcher.c | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/package.pl b/package.pl index 2f75472..a8d6013 100644 --- a/package.pl +++ b/package.pl @@ -16,6 +16,7 @@ copy_recursive('/home/sergio/recuento_root/usr/bin/recuento{,_launcher_windows}. 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}', $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', $destdir); 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', $destdir); diff --git a/src/windows/launcher.c b/src/windows/launcher.c index 052d1ed..aaccbca 100644 --- a/src/windows/launcher.c +++ b/src/windows/launcher.c @@ -101,7 +101,6 @@ 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) {