Comment 6 for bug 433781

Revision history for this message
Alexander Belchenko (bialix) wrote : Re: [Bug 433781] Re: dos-box is shown while bazaar explorer is executing

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).