Hardcoded generic branding

This commit is contained in:
K4sum1 2025-04-26 22:51:02 -07:00
commit 76fa1af460
42 changed files with 646 additions and 252 deletions

View file

@ -9,8 +9,8 @@
# BrandFullNameInternal is used for some registry and file system values
# instead of BrandFullName and typically should not be modified.
!define BrandFullNameInternal "New Moon"
!define CompanyName "Moonchild Productions"
!define URLInfoAbout "http://www.palemoon.org"
!define URLUpdateInfo "http://www.palemoon.org"
!define HelpLink "https://msfn.org/board/topic/177125-my-build-of-new-moon-temp-name-aka-pale-moon-fork-targetting-xp/?do=getNewComment"
!define URLSystemRequirements "http://www.palemoon.org/download.shtml"
!define CompanyName "Open Source Contributors"
!define URLInfoAbout "about:blank"
!define URLUpdateInfo "about:blank"
!define HelpLink "about:blank"
!define URLSystemRequirements "about:blank"

View file

@ -2,4 +2,24 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
MOZ_APP_NAME=newmoon
MOZ_APP_BASENAME="New Moon"
MOZ_APP_DISPLAYNAME="New Moon"
MOZ_APP_UA_NAME="PaleMoon"
MOZ_APP_VENDOR="Open Source Contributors"
MOZ_APP_FULLNAME="New Moon"
MOZ_APP_PROFILE="OpenSource/New Moon"
MOZ_APP_REMOTINGNAME=com.opensource.newmoon
MOZ_DISTRIBUTION_ID=com.opensource
MOZ_MACBUNDLE_NAME="newmoon.app"
MOZ_SOURCE_REPO=https://github.com/Eclipse-Community/UXP

View file

@ -4,5 +4,5 @@
<!ENTITY brandShortName "New Moon">
<!ENTITY brandFullName "New Moon">
<!ENTITY vendorShortName "a community developer">
<!ENTITY vendorShortName "Open Source Contributors">
<!ENTITY trademarkInfo.part1 " ">

View file

@ -4,6 +4,6 @@
brandShortName=New Moon
brandFullName=New Moon
vendorShortName=Moonchild
vendorShortName=Open Source Contributors
syncBrandShortName=Sync

View file

@ -10,3 +10,7 @@ export('DIST_SUBDIR')
include('../shared/branding.mozbuild')
ApplicationBranding()
FINAL_TARGET_FILES['..'] += [
'newmoon.VisualElementsManifest.xml',
]

View file

@ -0,0 +1,8 @@
<Application xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
<VisualElements
ShowNameOnSquare150x150Logo='on'
Square150x150Logo='browser\VisualElements\VisualElements_150.png'
Square70x70Logo='browser\VisualElements\VisualElements_70.png'
ForegroundText='light'
BackgroundColor='#171717'/>
</Application>

View file

@ -81,10 +81,10 @@ Comment[uk]=Перегляд сторінок Інтернету
Comment[vi]=Để duyệt các trang web
Comment[zh_CN]=浏览互联网
Comment[zh_TW]=瀏覽網際網路
Exec=palemoon %u
Exec=newmoon %u
Terminal=false
Type=Application
Icon=palemoon
Icon=newmoon
Categories=Network;WebBrowser;
MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;
StartupNotify=false
@ -176,7 +176,7 @@ Name[vi]=Mở thẻ mới
Name[xh]=Vula ithebhu entsha
Name[zh_CN]=打开新标签页
Name[zh_TW]=開啟新分頁
Exec=palemoon -new-tab
Exec=newmoon -new-tab
[Desktop Action NewWindow]
Name=Open new window
@ -263,7 +263,7 @@ Name[vi]=Mở cửa sổ mới
Name[xh]=Vula iwindow entsha
Name[zh_CN]=打开新窗口
Name[zh_TW]=開啟新視窗
Exec=palemoon -new-window
Exec=newmoon -new-window
[Desktop Action NewPrivateWindow]
Name=New private window
@ -350,4 +350,4 @@ Name[vi]=Cửa sổ riêng tư mới
Name[xh]=Ifestile yangasese entsha
Name[zh_CN]=新建隐私浏览窗口
Name[zh_TW]=新增隱私視窗
Exec=palemoon -private-window
Exec=newmoon -private-window

View file

@ -4,7 +4,7 @@
#include ../../shared/pref/uaoverrides.inc
pref("startup.homepage_override_url","");
pref("app.releaseNotesURL", "https://rtfreesoft.blogspot.com/search/label/newmoon");
pref("app.releaseNotesURL", "");
// Updates disabled
pref("app.update.enabled", false);