This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

on upgrade ensureXkeysUnique and leave apps to be lazily reinstalled …

…by the run button (should fix #308)
  • Loading branch information...
rpl committed Feb 17, 2013
1 parent ca50f16 commit 500e6b1d58c86220422b4d0cfdad6fd095f8cce1
Showing with 4 additions and 2 deletions.
  1. +4 −2 addon/lib/main.js
@@ -67,6 +67,8 @@ switch (Self.loadReason) {
Simulator.openHelperTab();
break;
case "downgrade":
// NOTE: in next release updateAll can be disabled
// (lazy install if not installed on runApp)
Simulator.updateAll();
break;
case "upgrade":
@@ -76,8 +78,8 @@ switch (Self.loadReason) {
if (Services.vc.compare(lastVersion, "2.0pre5") < 0) {
ensureXkeysUnique();
}
Simulator.updateAll();
// NOTE: updateAll disabled (lazy install if not installed on runApp)
//Simulator.updateAll();
break;
}

0 comments on commit 500e6b1

Please sign in to comment.