ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/util/run
(Generate patch)

Comparing deliantra/Deliantra-Client/util/run (file contents):
Revision 1.4 by root, Sat Dec 31 04:23:44 2011 UTC vs.
Revision 1.5 by root, Wed Jan 4 09:16:40 2012 UTC

1#! perl 1#! perl
2 2
3# wrapper to run the urlader-packaged client 3# wrapper to run the urlader-packaged client
4
5our $URLADER = 1;
6 4
7our %NO_WARN = map +($_, undef), 5our %NO_WARN = map +($_, undef),
8 "Log/Agent.pm", # Storable has this idiotic optional dependency 6 "Log/Agent.pm", # Storable has this idiotic optional dependency
9 "Win32/GUI/DIBitmap.pm", # JPEG support for Win32::SplashScreen 7 "Win32/GUI/DIBitmap.pm", # JPEG support for Win32::SplashScreen
10 "ActivePerl/Config.pm", # Config tries to use this 8 "ActivePerl/Config.pm", # Config tries to use this
39 push @STARTUP_DONE, sub { 37 push @STARTUP_DONE, sub {
40 Win32::GUI::SplashScreen::Done (1); 38 Win32::GUI::SplashScreen::Done (1);
41 }; 39 };
42} 40}
43 41
42require Urlader;
43
44delete $ENV{PERL_ANYEVENT_STRICT} ; delete $ENV{AE_STRICT}; 44delete $ENV{PERL_ANYEVENT_STRICT} ; delete $ENV{AE_STRICT};
45delete $ENV{PERL_ANYEVENT_DEBUG_WRAP}; delete $ENV{AE_DEBUG_WRAP}; 45delete $ENV{PERL_ANYEVENT_DEBUG_WRAP}; delete $ENV{AE_DEBUG_WRAP};
46 46
47$ENV{TIMIDITY_CFG} = "timidity.cfg"; 47$ENV{TIMIDITY_CFG} = "timidity.cfg";
48$ENV{PANGO_RC_FILE} = "pango.rc"; 48$ENV{PANGO_RC_FILE} = "pango.rc";
49 49
50require "bin/deliantra"; 50require "bin/deliantra";
51
52exit 0;
53

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines