More mypal branding

master
Fedor 2019-03-12 20:36:59 +03:00
parent 4d5c45e668
commit a2517068be
10 changed files with 1236 additions and 20 deletions

View File

@ -44,7 +44,7 @@ libs::
cp -p $(MOZ_APP_NAME)$(BIN_SUFFIX) $(DIST)/bin/$(MOZ_APP_NAME)-bin$(BIN_SUFFIX)
endif
GARBAGE += $(addprefix $(FINAL_TARGET)/defaults/pref/, palemoon.js)
GARBAGE += $(addprefix $(FINAL_TARGET)/defaults/pref/, mypal.js)
endif

View File

@ -9,7 +9,7 @@ DIRS += ['profile/extensions']
GeckoProgram(CONFIG['MOZ_APP_NAME'])
JS_PREFERENCE_PP_FILES += [
'profile/palemoon.js',
'profile/mypal.js',
]
if CONFIG['LIBXUL_SDK']:

File diff suppressed because it is too large Load Diff

View File

@ -7,12 +7,12 @@
@template
def ApplicationBranding():
JS_PREFERENCE_PP_FILES += [
'pref/palemoon-branding.js',
'pref/mypal-branding.js',
]
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
FINAL_TARGET_FILES['..'] += [
'palemoon.VisualElementsManifest.xml',
'mypal.VisualElementsManifest.xml',
]
FINAL_TARGET_FILES.VisualElements += [
'VisualElements_150.png',

View File

@ -0,0 +1,16 @@
#filter substitution
#filter emptyLines
#include ../../shared/pref/preferences.inc
#include ../../shared/pref/uaoverrides.inc
pref("startup.homepage_override_url","https://feodor2.github.io/Mypal/");
pref("app.releaseNotesURL", "https://github.com/Feodor2/Mypal/releases");
// Enable Firefox compatmode by default.
pref("general.useragent.compatMode", 2);
pref("general.useragent.compatMode.gecko", true);
pref("general.useragent.compatMode.firefox", true);
// Updates disabled
pref("app.update.enabled", false);
pref("app.update.url", "");

View File

@ -1,11 +0,0 @@
#filter substitution
#filter emptyLines
#include ../../shared/pref/preferences.inc
#include ../../shared/pref/uaoverrides.inc
pref("startup.homepage_override_url","http://www.palemoon.org/unofficial.shtml");
pref("app.releaseNotesURL", "http://www.palemoon.org/releasenotes.shtml");
// Updates disabled
pref("app.update.enabled", false);
pref("app.update.url", "");

View File

@ -54,7 +54,7 @@
@RESPATH@/fonts/*
#endif
@RESPATH@/hyphenation/*
@RESPATH@/browser/@PREF_DIR@/palemoon-l10n.js
@RESPATH@/browser/@PREF_DIR@/mypal-l10n.js
@RESPATH@/browser/searchplugins/*
#ifdef XP_WIN32
@BINPATH@/uninstall/helper.exe
@ -235,8 +235,8 @@
; [Default Preferences]
; All the pref files must be part of base to prevent migration bugs
@RESPATH@/browser/@PREF_DIR@/palemoon.js
@RESPATH@/browser/@PREF_DIR@/palemoon-branding.js
@RESPATH@/browser/@PREF_DIR@/mypal.js
@RESPATH@/browser/@PREF_DIR@/mypal-branding.js
@RESPATH@/greprefs.js
@RESPATH@/defaults/autoconfig/prefcalls.js

View File

@ -37,7 +37,7 @@ RETRIEVE_WINDOWS_INSTALLER = 1
MOZ_LANGPACK_EID=langpack-$(AB_CD)@palemoon.org
L10N_PREF_JS_EXPORTS = $(call MERGE_FILE,palemoon-l10n.js)
L10N_PREF_JS_EXPORTS = $(call MERGE_FILE,mypal-l10n.js)
L10N_PREF_JS_EXPORTS_PATH = $(FINAL_TARGET)/$(PREF_DIR)
L10N_PREF_JS_EXPORTS_FLAGS = $(PREF_PPFLAGS) --silence-missing-directive-warnings
PP_TARGETS += L10N_PREF_JS_EXPORTS
@ -160,7 +160,7 @@ clobber-zip:
$(STAGEDIST)/chrome/$(AB_CD).manifest \
$(STAGEDIST)/webapprt/chrome/$(AB_CD).jar \
$(STAGEDIST)/webapprt/chrome/$(AB_CD).manifest \
$(STAGEDIST)/$(PREF_DIR)/palemoon-l10n.js
$(STAGEDIST)/$(PREF_DIR)/mypal-l10n.js
$(RM) -rf $(STAGEDIST)/searchplugins \
$(STAGEDIST)/dictionaries \
$(STAGEDIST)/hyphenation \