diff --git a/pkg/arvo/app/clock.hoon b/pkg/arvo/app/clock.hoon index b63559d23..43c10dcdd 100644 --- a/pkg/arvo/app/clock.hoon +++ b/pkg/arvo/app/clock.hoon @@ -35,13 +35,21 @@ == :: bootstrapping to get %goad started OTA :: -++ on-save !>(%2) +++ on-save !>(%3) ++ on-load |= old-state=vase - =/ old !<(?(~ %1 %2) old-state) + ^- (quip card _this) + =/ old !<(?(~ %1 %2 %3) old-state) =^ cards this - ?: ?=(%2 old) + ?: ?=(%3 old) `this + ?: ?=(%2 old) + :: ensure launch is set up to listen to us correctly + :: + =/ launcha + [%launch-action !>([%add %clock /clocktile '/~clock/js/tile.js'])] + :_ this + [%pass /clock %agent [our.bowl %launch] %poke launcha]~ :_ this :_ ~ [%pass /behn %arvo %b %wait +(now.bowl)] ::