Skrebbel пишет:
> A simple workaround is the following:
>
> Make a file <program files>/Bazaar/bzrExplorer.js with:
>
> var WS_HIDDEN = 0;
> var shell = WScript.CreateObject("WScript.Shell");
> shell.Run("cmd /c bzr.exe explorer", WS_HIDDEN);
>
> Add a shortcut to this .js file to the start menu (optionally with the
> icon of bzr.exe).
>
> IMHO this might in fact also be a simpler and cheaper solution than
> including a second executable (either bzrExplorer.exe or bzrw.exe). You
> add a depencency to the Windows Scripting Host though (but afaik it is
> pretty ubiquitous).
I've added your JS to explorer sources. Now we should properly use it
from our installer(s).
Skrebbel пишет: Bazaar/ bzrExplorer. js with: CreateObject( "WScript. Shell") ;
> A simple workaround is the following:
>
> Make a file <program files>/
>
> var WS_HIDDEN = 0;
> var shell = WScript.
> shell.Run("cmd /c bzr.exe explorer", WS_HIDDEN);
>
> Add a shortcut to this .js file to the start menu (optionally with the
> icon of bzr.exe).
>
> IMHO this might in fact also be a simpler and cheaper solution than
> including a second executable (either bzrExplorer.exe or bzrw.exe). You
> add a depencency to the Windows Scripting Host though (but afaik it is
> pretty ubiquitous).
I've added your JS to explorer sources. Now we should properly use it
from our installer(s).