diff --git a/toolkit/webapps/WebappOSUtils.jsm b/toolkit/webapps/WebappOSUtils.jsm index bdec8f2a794..70d17f353e3 100644 --- a/toolkit/webapps/WebappOSUtils.jsm +++ b/toolkit/webapps/WebappOSUtils.jsm @@ -208,8 +208,11 @@ this.WebappOSUtils = { getPackagePath: function(aApp) { let packagePath = this.getInstallPath(aApp); + // Only for Firefox on Mac OS X +#ifndef MOZ_B2G #ifdef XP_MACOSX packagePath = OS.Path.join(packagePath, "Contents", "Resources"); +#endif #endif return packagePath;