Set LanMan98$Dir <Obey$Dir>
Set File$Type_069 LM98Link
Set File$Type_06A LM98Linux
Set File$Type_06B LM98Mac
Set File$Type_06C LM98NAS
Set File$Type_06D LM98Windows
| The saved discs and the auto-mount list are the user's own, so they live
| in !Choices.  An update replaces the whole application (the Updater moves
| the old one into its Backup), so anything kept inside it goes with it.
| LM98: names those two things and nothing else, so pointing it at
| !Choices moves both.  Without a !Boot to set Choices$Write there is
| nowhere better, so it stays where it always was.
Set LM98$Dir <Choices$Write>.LanMan98
IF "<Choices$Write>" = "" THEN Set LM98$Dir <LanMan98$Dir>
CDir <LM98$Dir>

| The move happens here, at !Boot, and not only in !Run.  The Updater
| leaves the old application complete in <disc>.Updates.Backup, where the
| Filer boots it like any other, so its !Boot runs too and sets LM98$Path
| back to itself -- whichever of the two runs last wins.  Worse, the next
| update deletes that backup.  Waiting for somebody to double click
| !LanMan98 before then is not safe enough, so the discs are brought
| across as soon as the Filer sees this application.  MoveDiscs leaves a
| marker and does nothing after the first time, so this costs one
| IfThere per boot.
Set LM98$Moved no
IfThere <LM98$Dir>.Moved Then Set LM98$Moved yes
IF "<LM98$Moved>" = "no" THEN Obey <LanMan98$Dir>.MoveDiscs
Unset LM98$Moved

CDir <LM98$Dir>.Discs
Set LM98$Path <LM98$Dir>.
|
Set LM98$sprites 5Sprites
RMEnsure Utilitymodule 5.00 Set LM98$sprites !Sprites
IconSprites <LanMan98$Dir>.<LM98$Sprites>
