diff options
author | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2016-11-14 23:02:47 +0100 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2016-11-15 20:40:50 +0100 |
commit | 59765f508225998d8a73b1da8380ff06b4a6b79c (patch) | |
tree | 9397850a4ab5bac51ec373558722c45be4fe7258 /etc/midipix_shortcut.vbs | |
parent | 8739dbe67d82f90d1c3b63a8d07af291c4ace600 (diff) | |
download | midipix_build-59765f508225998d8a73b1da8380ff06b4a6b79c.tar.bz2 midipix_build-59765f508225998d8a73b1da8380ff06b4a6b79c.tar.xz |
1) Replaces the SysV-style build script link mechanism w/ build {,meta-}targets,
2) splits build.{subr,sh}} into subr/{build,pkg,rtl}.subr and build.sh,
3) replaces {997.strip,998.midipix_sh,999.tarballs}.build with subr/{strip,tarball}.subr,
4) moves patches to patches/, vars files to vars/, and everything else to etc/,
5) renames `Create `Midipix mintty shell' shortcut.vbs' to midipix_shortcut.vbs,
6) fixes a Weechat configure issue, and
7) updates etc/{build.usage,README}.
Diffstat (limited to 'etc/midipix_shortcut.vbs')
-rw-r--r-- | etc/midipix_shortcut.vbs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/etc/midipix_shortcut.vbs b/etc/midipix_shortcut.vbs new file mode 100644 index 00000000..ce8e10d4 --- /dev/null +++ b/etc/midipix_shortcut.vbs @@ -0,0 +1,14 @@ +Set WshShell = CreateObject("WScript.Shell")
+If WScript.Arguments.Count = 0 Then
+ CygwinPath = "C:\cygwin64"
+Else
+ CygwinPath = WScript.Arguments(0)
+End If
+Set fso = CreateObject("Scripting.FileSystemObject")
+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
|