firefox: yet another change for profile fix path.

This commit is contained in:
Luis Guzman 2025-06-11 16:29:45 +00:00
parent b71e61a411
commit 62502abfc7
2 changed files with 15 additions and 13 deletions

View file

@ -1,12 +1,14 @@
diff --git a/debian/config/mozconfig.in b/debian/config/mozconfig.in
index aee1b988..291b4683 100644
--- a/debian/config/mozconfig.in
+++ b/debian/config/mozconfig.in
@@ -71,6 +71,7 @@ ac_add_options --disable-av1
%%endif
%%if MOZ_APP_NAME != MOZ_DEFAULT_APP_NAME
ac_add_options --with-app-name=@MOZ_APP_NAME@
+ac_add_options --with-app-basename=@MOZ_APP_NAME@
%%endif
%%if DISTRIB == Ubuntu
#ac_add_options --with-ua-vendor=Ubuntu
diff --git a/toolkit/xre/nsXREDirProvider.cpp b/toolkit/xre/nsXREDirProvider.cpp
index 9c94cb88..0c19fad9 100644
--- a/toolkit/xre/nsXREDirProvider.cpp
+++ b/toolkit/xre/nsXREDirProvider.cpp
@@ -1232,7 +1232,8 @@ nsresult nsXREDirProvider::AppendProfilePath(nsIFile* aFile, bool aLocal) {
if (gAppData->profile) {
profile = gAppData->profile;
} else {
- appName = gAppData->name;
+ // For Abrowser compatibility: force use of ~/.mozilla/abrowser
+ appName.AssignLiteral("abrowser");
vendor = gAppData->vendor;
}

View file

@ -19,7 +19,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
VERSION=122
VERSION=123
EXTERNAL='deb-src http://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu $UPSTREAM main'
REPOKEY=9BDB3D89CE49EC21