From 7927966d8799ccceeee04d1e9e7119f0cac65d7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Wed, 15 Jun 2016 16:01:06 +0000 Subject: Disable NLS for all packages minus the runtime components. Followup to <2696b7e8fb2972e72fab7ca8b5a3ab87022814af>: - Restore src/process/_execve.c NT_SEC_IMAGE vs. NT_SEC_RESERVE patch for builds on lucio-vm.local. to allow for running Midipix from a network share. Move previous psxscl patches into psxscl.local@lucio-vm.local.patch. Prevent Irssi from using g_child_watch_add_full() when resolving hostnames for testing purposes as clone(2) is not currently implemented. Updated Create `Midipix mintty shell' shortcut.vbs: - Always update the shortcut file. - Launch sh(1) instead of Mintty (via Elieux.) - Obtain the pathname to Cygwin from the command line, defaulting to `C:\cygwin64'. Updated midipix.sh: - Automatically determine ${MIDIPIX_DRIVE} and ${MIDIPIX_PNAME} via cygpath(1) (via Elieux.) - Export MSYS2_ARG_CONV_EXCL="*" when running within Msys (via Elieux.) - Prepend `/bin' to ${PATH} if not present (via Elieux.) - Set and restore the previous cygdrive prefix. - Use /proc/cygdrive instead of /cygdrive (via Elieux.) --- Create `Midipix mintty shell' shortcut.vbs | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) (limited to 'Create `Midipix mintty shell' shortcut.vbs') diff --git a/Create `Midipix mintty shell' shortcut.vbs b/Create `Midipix mintty shell' shortcut.vbs index ab0d3bbd..ce8e10d4 100644 --- a/Create `Midipix mintty shell' shortcut.vbs +++ b/Create `Midipix mintty shell' shortcut.vbs @@ -1,18 +1,14 @@ Set WshShell = CreateObject("WScript.Shell") -LinkPath = WshShell.CurrentDirectory + "\Midipix mintty shell.lnk" If WScript.Arguments.Count = 0 Then - MinttyPath = "C:\cygwin64\bin\mintty.exe" + CygwinPath = "C:\cygwin64" Else - MinttyPath = WScript.Arguments(0) + CygwinPath = WScript.Arguments(0) End If - Set fso = CreateObject("Scripting.FileSystemObject") -If not (fso.FileExists(LinkPath)) Then - Set oMyShortCut = WshShell.CreateShortcut(LinkPath) - oMyShortCut.WindowStyle = 4 - oMyShortcut.IconLocation = MinttyPath - oMyShortCut.TargetPath = MinttyPath - oMyShortCut.Arguments = "-i /Cygwin-Terminal.ico -e sh midipix.sh" - oMyShortCut.WorkingDirectory = WshShell.CurrentDirectory - oMyShortCut.Save -End If +Set oMyShortCut = WshShell.CreateShortcut(WshShell.CurrentDirectory + "\Midipix shell.lnk") +oMyShortCut.Arguments = "midipix.sh" +oMyShortcut.IconLocation = CygwinPath + "\Cygwin-Terminal.ico" +oMyShortCut.TargetPath = CygwinPath + "\bin\sh.exe" +oMyShortCut.WindowStyle = 4 +oMyShortCut.WorkingDirectory = WshShell.CurrentDirectory +oMyShortCut.Save -- cgit v1.2.3