| >!Run
|
| Copyright 2001-2015, Stephen Fryatt (info@stevefryatt.org.uk)
|
| This file is part of Locate:
|
|   http://www.stevefryatt.org.uk/software/
|
| Licensed under the EUPL, Version 1.1 only (the "Licence");
| You may not use this work except in compliance with the
| Licence.
|
| You may obtain a copy of the Licence at:
|
|   http://joinup.ec.europa.eu/software/page/eupl
|
| Unless required by applicable law or agreed to in
| writing, software distributed under the Licence is
| distributed on an "AS IS" basis, WITHOUT WARRANTIES
| OR CONDITIONS OF ANY KIND, either express or implied.
|
| See the Licence for the specific language governing
| permissions and limitations under the Licence.

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

Set Alias$@RunType_1A1 Run <Obey$Dir>.!Run -file %%*0
Set File$Type_1A1 Locate

| Comment out this line (and the corresponding one in !Boot) to prevent
| Locate behaving as a Filer Plugin under Select.

Set Alias$@FilerAction_Find Run <Obey$Dir>.!Run -plugin

| ---

Run <Locate$Dir>.FindSprs
IconSprites <Locate$Sprites>.!Sprites

| Ensure the Nested Wimp is installed.

RMEnsure WindowManager 3.98 Error Locate requires the Nested Window Manager.

| Ensure that the Castle Shared C Library is present, with C99 support.

RMEnsure SharedCLibrary 5.17 RMLoad System:Modules.CLib
RMEnsure SharedCLibrary 5.43 Error Locate requires version 5.43 or later of the Shared C Library.

WimpSlot -min 512k -max 512k

Run Locate:!RunImage %*0
