Skip to content

Commit

Permalink
Use ~/.waterfox instead ~/mozilla for user extensions and plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
PhantomX committed Dec 28, 2017
1 parent 388770f commit 15e5f38
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion caps/NullPrincipal.cpp
Expand Up @@ -110,7 +110,7 @@ NullPrincipal::Init(const OriginAttributes& aOriginAttributes, bool aIsFirstPart
if (aIsFirstParty) {
// remove the '{}' characters from both ends.
path.Mid(path, 1, path.Length() - 2);
path.AppendLiteral(".mozilla");
path.AppendLiteral(".waterfox");
attrs.SetFirstPartyDomain(true, path);
}

Expand Down
2 changes: 1 addition & 1 deletion js/src/old-configure.in
Expand Up @@ -400,7 +400,7 @@ AR_EXTRACT='$(AR) x'
AS='$(CC)'
AS_DASH_C_FLAG='-c'
DIRENT_INO=d_ino
MOZ_USER_DIR=".mozilla"
MOZ_USER_DIR=".waterfox"

MOZ_FIX_LINK_PATHS="-Wl,-rpath-link,${DIST}/bin -Wl,-rpath-link,${prefix}/lib"

Expand Down
2 changes: 1 addition & 1 deletion old-configure.in
Expand Up @@ -451,7 +451,7 @@ AR_EXTRACT='$(AR) x'
AS='$(CC)'
AS_DASH_C_FLAG='-c'
DIRENT_INO=d_ino
MOZ_USER_DIR=".mozilla"
MOZ_USER_DIR=".waterfox"

MOZ_FIX_LINK_PATHS="-Wl,-rpath-link,${DIST}/bin -Wl,-rpath-link,${prefix}/lib"

Expand Down
4 changes: 2 additions & 2 deletions toolkit/xre/nsXREDirProvider.cpp
Expand Up @@ -420,7 +420,7 @@ nsXREDirProvider::GetFile(const char* aProperty, bool* aPersistent,
rv = localDir->AppendNative(NS_LITERAL_CSTRING("NativeMessagingHosts"));
}
#else
rv = localDir->AppendNative(NS_LITERAL_CSTRING(".mozilla"));
rv = localDir->AppendNative(NS_LITERAL_CSTRING(".waterfox"));
if (NS_SUCCEEDED(rv)) {
rv = localDir->AppendNative(NS_LITERAL_CSTRING("native-messaging-hosts"));
}
Expand Down Expand Up @@ -1650,7 +1650,7 @@ nsXREDirProvider::AppendSysUserExtensionPath(nsIFile* aFile)

#elif defined(XP_UNIX)

static const char* const sXR = ".mozilla";
static const char* const sXR = ".waterfox";
rv = aFile->AppendNative(nsDependentCString(sXR));
NS_ENSURE_SUCCESS(rv, rv);

Expand Down

0 comments on commit 15e5f38

Please sign in to comment.