diff options
author | Andrew Timmins <atimmins@blueyonder.co.uk> | 2004-07-19 18:06:16 +0000 |
---|---|---|
committer | Andrew Timmins <atimmins@blueyonder.co.uk> | 2004-07-19 18:06:16 +0000 |
commit | 499d6af9231ba5ce7bda92b82fff79973173398d (patch) | |
tree | 000eb7a97e65b681daaeaf506d8c90bb9d829e01 /!NCNetSurf/!Run,feb | |
parent | c4a502219f1cbd32bf27496b44bffc7eb9278344 (diff) | |
download | netsurf-499d6af9231ba5ce7bda92b82fff79973173398d.tar.gz netsurf-499d6af9231ba5ce7bda92b82fff79973173398d.tar.bz2 |
[project @ 2004-07-19 18:06:16 by atimmins]
Initial revision
svn path=/import/netsurf/; revision=1107
Diffstat (limited to '!NCNetSurf/!Run,feb')
-rw-r--r-- | !NCNetSurf/!Run,feb | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/!NCNetSurf/!Run,feb b/!NCNetSurf/!Run,feb new file mode 100644 index 000000000..25bb1b991 --- /dev/null +++ b/!NCNetSurf/!Run,feb @@ -0,0 +1,51 @@ +<Obey$Dir>.!Boot + +| Can't run more than one copy of NCNetSurf at once. +If "<NetSurf$Running>" = "yes" Then Error NetSurf is already running + +| We need NCOS 1.11 +RMEnsure OSVersion 1.11 Error NCNetSurf needs NCOS 1.11 or later + +| Ensure the latest SharedCLibrary is installed +| http://www.iyonix.com/32bit/ +RMEnsure SharedCLibrary 5.47 RMLoad <NetSurf$Dir>.RMStore.SharedCLib + +| Ensure CallASWI is installed +| http://www.iyonix.com/32bit/ +RMEnsure CallASWI 0.02 RMLoad <NetSurf$Dir>.RMStore.CallASWI + +| Ensure DrawFile is installed +| http://acorn.riscos.com/riscos/releases/drawfile.arc +RMEnsure DrawFile 1.30 RMLoad <NetSurf$Dir>.RMStore.DrawFile + +| Ensure SharedUnixLibrary is installed +| http://www.chocky.org/unix/usage.html +RMEnsure SharedUnixLibrary 1.02 RMLoad <NetSurf$Dir>.RMStore.SharedULib + +| Ensure AcornURI is installed +| http://sudden.recoil.org/ +Unset NetSurf$Start_URI_Handler +RMEnsure AcornURI 0.12 Set NetSurf$Start_URI_Handler 1 +RMEnsure AcornURI 0.12 RMLoad <NetSurf$Dir>.RMStore.URI +RMEnsure AcornURI 0.12 Unset NetSurf$Start_URI_Handler + +| Ensure MimeMap is installed +If "<InetDBase$Path>" = "" Then Error Inet databases can not be found +If "<Inet$MimeMappings>" = "" Then Set Inet$MimeMappings <NetSurf$Dir>.Resources.MimeMap +RMEnsure MimeMap 0.10 RMLoad <NetSurf$Dir>.RMStore.MimeMap +RMEnsure MimeMap 0.10 Error NetSurf requires MimeMap 0.10 or later + +| Ensure Tinct is installed +RMEnsure Tinct 0.05 RMLoad <NetSurf$Dir>.Resources.Tinct +RMEnsure Tinct 0.05 Error NetSurf requires Tinct 0.05 or later + +| Ensue that the Wimp Scrap directory has been set +WimpSlot -Min 32k -Max 32k +If "<Wimp$ScrapDir>" = "" Then SetMacro Wimp$ScrapDir Cache:$.ScrapDir +If "<Wimp$Scrap>" = "" Then SetMacro Wimp$Scrap <Wimp$ScrapDir>.ScrapFile + +| Wimpslot -min 2150k -max 2150k +Wimpslot -min 8196k +Set NetSurf$Running yes +Run <NetSurf$Dir>.!RunImage 2><Wimp$ScrapDir>.NCNetSurf +UnSet NetSurf$Running
\ No newline at end of file |