diff --git a/package.pl b/package.pl index 0375bd0..0a6b1a9 100644 --- a/package.pl +++ b/package.pl @@ -46,10 +46,9 @@ sub make_share { $share_schemas->mkpath; $share_fonts->mkpath; $share_icons->mkpath; - copy_recursive('/usr/x86_64-w64-mingw32/usr/share/fonts/liberation-fonts/', $share_fonts.''); - copy_recursive('/usr/x86_64-w64-mingw32/usr/share/icons/Adwaita', $share_icons.''); - copy_recursive('/usr/x86_64-w64-mingw32/usr/share/icons/hicolor', $share_icons.''); - copy_recursive('/usr/x86_64-w64-mingw32/usr/share/glib-2.0/schemas/*', $share_schemas.''); + copy_recursive('/home/sergio/recuento_root/usr/share/icons/Adwaita', $share_icons.''); + copy_recursive('/home/sergio/recuento_root/usr/share/icons/hicolor', $share_icons.''); + copy_recursive('/home/sergio/recuento_root/usr/share/glib-2.0/schemas/*', $share_schemas.''); } sub make_config { diff --git a/src/windows/launcher.c b/src/windows/launcher.c index 6d1c195..87a9b28 100644 --- a/src/windows/launcher.c +++ b/src/windows/launcher.c @@ -100,7 +100,6 @@ WINAPI WinMain(HINSTANCE hInstance, HINSTANCE, LPSTR pCmdLine, int nCmdShow) _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", "."); int return_value = execvp(argument_list[0], argument_list); if (return_value == -1) {