find firefox osx profile dir whether it's profilename.random or random.profilename.
git-svn-id: svn://10.0.0.236/trunk@165381 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
e53dfd2f08
commit
cfded59334
@ -24,7 +24,7 @@ use Config; # for $Config{sig_name} and $Config{sig_num}
|
||||
use File::Find ();
|
||||
use File::Copy;
|
||||
|
||||
$::UtilsVersion = '$Revision: 1.281 $ ';
|
||||
$::UtilsVersion = '$Revision: 1.282 $ ';
|
||||
|
||||
package TinderUtils;
|
||||
|
||||
@ -1124,7 +1124,7 @@ sub get_profile_dir {
|
||||
($profile_dir) = <$profile_dir/*.$Settings::MozProfileName>;
|
||||
} elsif ($Settings::ProductName eq 'Firefox') {
|
||||
$profile_dir = "$ENV{HOME}/Library/Application Support/$Settings::ProductName/Profiles";
|
||||
($profile_dir) = <"$profile_dir/*.$Settings::MozProfileName">;
|
||||
($profile_dir) = <"$profile_dir/*$Settings::MozProfileName*">;
|
||||
} else { # Mozilla's Profiles/profilename/salt
|
||||
$profile_dir = "$ENV{HOME}/Library/$Settings::ProductName/Profiles/$Settings::MozProfileName/";
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user