mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 23:38:38 +09:00
De-firefox many things
This commit is contained in:
parent
ae6fe35585
commit
f2cea39d0d
9 changed files with 90 additions and 90 deletions
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
#ifdef XP_WIN
|
||||
#ifdef MOZ_ASAN
|
||||
// ASAN requires firefox.exe to be built with -MD, and it's OK if we don't
|
||||
// ASAN requires basilisk.exe to be built with -MD, and it's OK if we don't
|
||||
// support Windows XP SP2 in ASAN builds.
|
||||
#define XRE_DONT_SUPPORT_XPSP2
|
||||
#endif
|
||||
|
|
@ -84,7 +84,7 @@ static void Output(const char *fmt, ... )
|
|||
decltype(MessageBoxW)* messageBoxW =
|
||||
(decltype(MessageBoxW)*) GetProcAddress(user32, "MessageBoxW");
|
||||
if (messageBoxW) {
|
||||
messageBoxW(nullptr, wide_msg, L"Firefox", MB_OK
|
||||
messageBoxW(nullptr, wide_msg, L"Basilisk", MB_OK
|
||||
| MB_ICONERROR
|
||||
| MB_SETFOREGROUND);
|
||||
}
|
||||
|
|
@ -170,7 +170,7 @@ static int do_main(int argc, char* argv[], char* envp[], nsIFile *xreDirectory)
|
|||
nsresult rv;
|
||||
uint32_t mainFlags = 0;
|
||||
|
||||
// Allow firefox.exe to launch XULRunner apps via -app <application.ini>
|
||||
// Allow basilisk.exe to launch XULRunner apps via -app <application.ini>
|
||||
// Note that -app must be the *first* argument.
|
||||
const char *appDataFile = getenv("XUL_APP_FILE");
|
||||
if (appDataFile && *appDataFile) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue