Skip to content
This repository has been archived by the owner on Nov 10, 2017. It is now read-only.

Commit

Permalink
on upgrade ensureXkeysUnique and leave apps to be lazily reinstalled …
Browse files Browse the repository at this point in the history
…by the run button (should fix #308)
  • Loading branch information
rpl committed Feb 17, 2013
1 parent ca50f16 commit 500e6b1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions addon/lib/main.js
Expand Up @@ -67,6 +67,8 @@ switch (Self.loadReason) {
Simulator.openHelperTab(); Simulator.openHelperTab();
break; break;
case "downgrade": case "downgrade":
// NOTE: in next release updateAll can be disabled
// (lazy install if not installed on runApp)
Simulator.updateAll(); Simulator.updateAll();
break; break;
case "upgrade": case "upgrade":
Expand All @@ -76,8 +78,8 @@ switch (Self.loadReason) {
if (Services.vc.compare(lastVersion, "2.0pre5") < 0) { if (Services.vc.compare(lastVersion, "2.0pre5") < 0) {
ensureXkeysUnique(); ensureXkeysUnique();
} }

// NOTE: updateAll disabled (lazy install if not installed on runApp)
Simulator.updateAll(); //Simulator.updateAll();
break; break;
} }


Expand Down

0 comments on commit 500e6b1

Please sign in to comment.