Bug 898647 - Backend for app updates. Fix Mac OS X b2g desktop build. r=myk

This commit is contained in:
Marco Castelluccio 2014-03-15 14:37:50 -07:00
parent 97ab2c87f2
commit e97031b286

View File

@ -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;