mirror of
https://github.com/EQEmu/Server.git
synced 2026-02-28 20:42:25 +00:00
[eqemu_update.pl] Add Option 20) to self update script [skip ci]
This commit is contained in:
parent
bcf8b1af8e
commit
9344cfb4e3
@ -164,6 +164,10 @@ else{
|
|||||||
ShowMenuPrompt();
|
ShowMenuPrompt();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sub UpdateSelf{
|
||||||
|
GetRemoteFile("https://raw.githubusercontent.com/EQEmu/Server/master/utils/scripts/eqemu_update.pl", "eqemu_update.pl");
|
||||||
|
die "Rerun eqemu_update.pl";
|
||||||
|
}
|
||||||
|
|
||||||
sub ShowMenuPrompt {
|
sub ShowMenuPrompt {
|
||||||
my %dispatch = (
|
my %dispatch = (
|
||||||
@ -175,6 +179,7 @@ sub ShowMenuPrompt {
|
|||||||
6 => \&MapFiles_Fetch,
|
6 => \&MapFiles_Fetch,
|
||||||
7 => \&Plugins_Fetch,
|
7 => \&Plugins_Fetch,
|
||||||
8 => \&QuestFiles_Fetch,
|
8 => \&QuestFiles_Fetch,
|
||||||
|
20 => \&UpdateSelf,
|
||||||
0 => \&Exit,
|
0 => \&Exit,
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -230,6 +235,7 @@ Database Management Menu (Please Select):
|
|||||||
6) Maps - Download latest map and water files
|
6) Maps - Download latest map and water files
|
||||||
7) Plugins - Download latest Perl plugins
|
7) Plugins - Download latest Perl plugins
|
||||||
8) Quests - Download latest PEQ quests and stage updates
|
8) Quests - Download latest PEQ quests and stage updates
|
||||||
|
20) Force update this script (Redownload)
|
||||||
0) Exit
|
0) Exit
|
||||||
|
|
||||||
EO_MENU
|
EO_MENU
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user