Corrected startup path
This commit is contained in:
parent
1034d6415e
commit
6633324a4a
|
@ -142,7 +142,7 @@ sub init {
|
|||
logger(9,"Error while calling Shell32:SetCurrentProcessExplicitAppUserModelID: $^E") unless $ret == 0;
|
||||
#Windows requires a shortcut exist in order for notifications from an AppID to actually succeed, so we create one where the user won't see it.
|
||||
#This is done upon startup, with no care for if a shortcut already exists. It'll either fail to create, which is fine, or overwrite, which is also fine.
|
||||
system($Conf->{general}->{'notify'}->{toast_exe}." -install \"Maintenance\\ayudante-lobo-notifier-shim\" $^X MaffC.App-AyudanteLobo");
|
||||
system($Conf->{general}->{'notify'}->{toast_exe}." -install \"Startup\\ayudante-lobo\" $ENV{PAR_PROGNAME} MaffC.App-AyudanteLobo");
|
||||
}
|
||||
#set up signal handlers so we can handle SIGHUPs and handle quitting gracefully.
|
||||
$SIG{$_} = \&sigtrap for qw/HUP INT QUIT TERM/;
|
||||
|
@ -245,4 +245,4 @@ init();
|
|||
POE::Kernel->run_while(\$running);
|
||||
logger($sighup? 1 : 8,"Halting $ME..");
|
||||
#TODO investigate a way to signal lobo to restart on windows, since SIGHUP isn't supported
|
||||
exec $^X, $0, @ARGV;
|
||||
exec $^X, $0, @ARGV;
|
||||
|
|
|
@ -43,10 +43,10 @@ monitor:
|
|||
delete: 1
|
||||
|
||||
# general configuration, basically self-documenting
|
||||
# general->home is optional. if empty, this will be determined by the $HOME env variable or the current working directory.
|
||||
# general->home is optional. if empty, this will be determined by the $HOME env variable(s) or the current working directory.
|
||||
# general->errlogfile and logfile will default to $home/.ayudante-lobo.err and .log if removed, leaving them blank will instead disable logging for either standard logs or error logs. if both are left blank, storelogs will internally be set to 0 at runtime.
|
||||
# general->tmp is required.
|
||||
# general->notify->toast_exe is an optional directive pointing to the program to be used to display notification toasts in windows. required if running windows and general->notify->banner is turned on.
|
||||
# general->notify->toast_exe is required if running windows and general->notify->banner is turned on. this directive should point to the location of SnoreToastGUI.exe from the latest release of SnoreToast: https://github.com/Snorenotify/Snoretoast/releases
|
||||
# general->notify->speech_rate only applies to speech on OSX.
|
||||
general:
|
||||
home:
|
||||
|
|
Loading…
Reference in New Issue