mirror of
https://gitlab.com/Nanolx/homebrewfilter.git
synced 2024-12-28 02:11:48 +01:00
download Fonts and Languages from Tuxfamily
This commit is contained in:
parent
12d0419afd
commit
4a8e493eb7
@ -86,7 +86,7 @@ void fontDownload(string fontname)
|
||||
|
||||
char buffer[100];
|
||||
msgTxt.SetText(fontname.c_str());
|
||||
sprintf(buffer, "http://hbf.hamachi-mp.bplaced.net/Fonts/%s", fontname.c_str());
|
||||
sprintf(buffer, "http://download.tuxfamily.org/hbf/Fonts/%s", fontname.c_str());
|
||||
struct block file = downloadfile(buffer);
|
||||
if (file.data && file.size > 0 && folder_exists())
|
||||
{
|
||||
@ -126,7 +126,7 @@ string FontList()
|
||||
bool stop = false;
|
||||
|
||||
char buffer[100];
|
||||
sprintf(buffer, "http://hbf.hamachi-mp.bplaced.net/Fonts/");
|
||||
sprintf(buffer, "http://download.tuxfamily.org/hbf/Fonts/");
|
||||
|
||||
struct block file = downloadfile(buffer);
|
||||
if (file.data != NULL)
|
||||
@ -373,4 +373,4 @@ string checkFontsPrompt()
|
||||
ResumeGui();
|
||||
|
||||
return downloadfont;
|
||||
}
|
||||
}
|
||||
|
@ -86,7 +86,7 @@ void languageDownload(string languagename)
|
||||
|
||||
char buffer[100];
|
||||
msgTxt.SetText(languagename.c_str());
|
||||
sprintf(buffer, "http://hbf.hamachi-mp.bplaced.net/Languages/%s", languagename.c_str());
|
||||
sprintf(buffer, "http://download.tuxfamily.org/hbf/Languages/%s", languagename.c_str());
|
||||
struct block file = downloadfile(buffer);
|
||||
if (file.data && file.size > 0 && folder_exists())
|
||||
{
|
||||
@ -126,7 +126,7 @@ string LanguageList()
|
||||
bool stop = false;
|
||||
|
||||
char buffer[100];
|
||||
sprintf(buffer, "http://hbf.hamachi-mp.bplaced.net/Languages/");
|
||||
sprintf(buffer, "http://download.tuxfamily.org/hbf/Languages/");
|
||||
|
||||
struct block file = downloadfile(buffer);
|
||||
if (file.data != NULL)
|
||||
@ -374,4 +374,4 @@ string checkLanguagesPrompt()
|
||||
ResumeGui();
|
||||
|
||||
return downloadlanguage;
|
||||
}
|
||||
}
|
||||
|
@ -85,7 +85,7 @@ void themeDownload(string themename)
|
||||
|
||||
char buffer[100];
|
||||
// download counter
|
||||
sprintf(buffer, "http://hbf.hamachi-mp.bplaced.net/Themes/counter.php?theme=%s", themename.c_str());
|
||||
\\sprintf(buffer, "http://hbf.hamachi-mp.bplaced.net/Themes/counter.php?theme=%s", themename.c_str());
|
||||
struct block file = downloadfile(buffer);
|
||||
|
||||
sprintf(buffer, "http://hbf.hamachi-mp.bplaced.net/Themes/index.php?path=Themes/%s", themename.c_str());
|
||||
@ -401,4 +401,4 @@ string checkThemesPrompt()
|
||||
ResumeGui();
|
||||
|
||||
return downloadtheme;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user