




| Set path
Set Cassia$Dir <Obey$Dir>

| Setup application info
Set Cassia$Help <Cassia$Dir>.Screens.Help.html
Set Cassia$Version 3.13.5r1
Set Cassia$Web "http://www.oregan.net/"
Set Cassia$Title "Cassia"
Set Cassia$Publisher "Oregan Networks Ltd"
Set Cassia$Description "Web browser"

| Load sprites
IconSprites <Cassia$Dir>.!Sprites
RMEnsure UtilityModule 5.00 IconSprites <Cassia$Dir>.FileIcons

| Acorn URI protocol
If "" = "<Alias$Open_URI_http>" Then Set Alias$Open_URI_http <Cassia$Dir>.!Run --nowindow
If "" = "<Alias$Open_URI_https>" Then Set Alias$Open_URI_https <Cassia$Dir>.!Run --nowindow
If "" = "<Alias$Open_URI_file>" Then Set Alias$Open_URI_file <Cassia$Dir>.!Run --nowindow

| ANT URI protocol
If "" = "<Alias$URLOpen_http>" Then Set Alias$URLOpen_http <Cassia$Dir>.!Run %%*0
If "" = "<Alias$URLOpen_https>" Then Set Alias$URLOpen_https <Cassia$Dir>.!Run %%*0
If "" = "<Alias$URLOpen_file>" Then Set Alias$URLOpen_file <Cassia$Dir>.!Run %%*0

| Claim HTML and URI files
If "" = "<Alias$@RunType_FAF>" Then Set Alias$@RunType_FAF <Cassia$Dir>.!Run -file %%*0
If "" = "<Alias$@RunType_B28>" Then Set Alias$@RunType_B28 <Cassia$Dir>.!Run -file %%*0
| Hack to stop this check if FTPc has been previously booted
If "" = "<FTPc$Dir>" Then If "" = "<Alias$@RunType_F91>" Then Set Alias$@RunType_F91 <Cassia$Dir>.!Run -file %%*0

| File Types
If "" = "<File$Type_FAF>" Then Set File$Type_FAF HTML
If "" = "<File$Type_B28>" Then Set File$Type_B28 URL
If "" = "<File$Type_F91>" Then Set File$Type_F91 URI

If "" = "<File$Type_695>" Then Set File$Type_695 GIF
If "" = "<File$Type_B60>" Then Set File$Type_B60 PNG
If "" = "<File$Type_C85>" Then Set File$Type_C85 JPEG
