Avoid relying on temporary selected FS, use / or Run

svn path=/trunk/netsurf/; revision=4339
This commit is contained in:
John Tytgat 2008-06-15 18:28:55 +00:00
parent 1b57a83028
commit 1a5d650b94
2 changed files with 4 additions and 4 deletions

View File

@ -62,9 +62,9 @@ Unset NetSurf$Sprites
| If the launch is successful, the Message_URI_MProcess is rebroadcast.
| The -nowin is required to ensure only one window is opened (this only has
| an effect if the user has configured auto window opening at startup).
If (("<Alias$Open_URI_http>" = "") OR ("<NetSurf$ForceVars>" = "1")) Then Set Alias$Open_URI_http <NetSurf$Dir>.!Run -nowin
If (("<Alias$Open_URI_https>" = "") OR ("<NetSurf$ForceVars>" = "1")) Then Set Alias$Open_URI_https <NetSurf$Dir>.!Run -nowin
If (("<Alias$Open_URI_file>" = "") OR ("<NetSurf$ForceVars>" = "1")) Then Set Alias$Open_URI_file <NetSurf$Dir>.!Run -nowin
If (("<Alias$Open_URI_http>" = "") OR ("<NetSurf$ForceVars>" = "1")) Then Set Alias$Open_URI_http /<NetSurf$Dir>.!Run -nowin
If (("<Alias$Open_URI_https>" = "") OR ("<NetSurf$ForceVars>" = "1")) Then Set Alias$Open_URI_https /<NetSurf$Dir>.!Run -nowin
If (("<Alias$Open_URI_file>" = "") OR ("<NetSurf$ForceVars>" = "1")) Then Set Alias$Open_URI_file /<NetSurf$Dir>.!Run -nowin
| ANT URL protocol
|

View File

@ -6,7 +6,7 @@
| Set system variables and application sprites
Set NetSurf$ForceVars 1
<Obey$Dir>.!Boot
/<Obey$Dir>.!Boot
UnSet NetSurf$ForceVars
| Detect if NetSurf is already running and, if so, force the