| Firefox !Run file

Set Firefox$Dir <Obey$Dir>
Set Firefox$Path <Firefox$Dir>.

| Large enough to contain the binary
Wimpslot -min 20000k -max 20000k
Set firefox-bin$heap ""

| Control font behaviour
Set Chox11$firefox-bin$subpixelfont 0
Set Chox11$firefox-bin$scalefont 120

| Application name
Set firefox-bin$Title "Mozilla Firefox"

| Latest Tinct
RMEnsure Tinct 0.13 RMLoad System:Modules.Tinct
RMEnsure Tinct 0.13 Error Firefox requires Tinct 0.13 or later. This can be downloaded from http://www.tinct.net/

| Ensure !UnixHome has been seen
If "<UnixEnv$HOME>" = "" Then Error !UnixHome has not been seen

| RiscXLib is not used by Firefox, but older versions set HOME and upset
| things, so watch for them.
If "<HOME>" <> "" Then Error You appear to have an old version of !RiscXLib installed.  Please delete it or upgrade it from http://www.riscos.info/xlib/

| stdout is not interesting.  stderr may contain crash or debug information.
<Firefox$Dir>.firefox-bin >null: 2><Firefox$Dir>.stderr
