On 17. 11. 2015 15:13, Johannes Schindelin wrote: > Hi David, > > On Fri, 6 Nov 2015, David Macek wrote: > >> I created a new launcher for MSYS2 and I'd like some feedback from you, >> MSYS2 users and developers. The launcher is called `msys2-launcher` and >> is now available in the repositories, but it's not yet part of the MSYS2 >> core distribution. The launcher only supports mintty at the moment, >> because it depends on its AppUserModel manipulation features. > > Excellent work! I agree with your rationales to replace the .bat with the > .exe (after all, I faced a lot of backlash for converting Git for Windows' > main entry point from a batch file into an executable myself, but I have > not heard of *any* good argument to keep the .bat file, what with its > serious shortcomings). > > I am notoriously short on time these days, so I only had a quick glance at > the source code. > > The only questions I have right now are: > > - how about extending the .ini so it can call a specific command if none > was specified on the command-line?
Sounds doable. How 'bout this one? https://github.com/elieux/msys2-launcher/tree/ini-command The command is specified as `=command=something`. > - would it not make sense to adjust the `PATH` in the launcher, given that > calling `msys2-launcher blub.exe` skips the entire /etc/profile > including adjusting the `PATH`? There's no skipping, I took great care to ensure that the profile is sourced in both use cases. > It would be nice if I could get rid of my custom > `git-bash.exe`/`git-cmd.exe` and replace it with an appropriately > configured msys2-launcher; for that to work, I would still need to figure > out a way how to turn this into `git-cmd.exe` (which is a *console* > program that only adjusts the environment variables but then calls > `cmd.exe` instead of `mintty.exe`/`bash.exe`). I'd be happy to augment my launcher to be able to serve Git for Windows. Can you write down all the use cases that the launcher would need to cover? -- David Macek
smime.p7s
Description: S/MIME Cryptographic Signature
------------------------------------------------------------------------------ Give your users amazing mobile app experiences with Intel XDK. Use one codebase in this all-in-one HTML5 development environment. Design, debug & build mobile apps & 2-D/3-D games for multiple OSs. Then get your creation into app stores sooner, with many ways to monetize. http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
_______________________________________________ Msys2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/msys2-users
