Check-in [b2f32bc1eb]
Overview
| Comment: | Fix $kwargs for PS2.0 |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
b2f32bc1eb609275503ffd6f183efc91 |
| User & Date: | mario on 2016-12-11 13:31:30 |
| Other Links: | manifest | tags |
Context
|
2016-12-11
| ||
| 13:31 | Undo __name__ shortcut, because it carries the package name as well check-in: 6946ba0cdd user: mario tags: trunk | |
| 13:31 | Fix $kwargs for PS2.0 check-in: b2f32bc1eb user: mario tags: trunk | |
| 13:31 | Suppress ANSI codes for windows cmd check-in: bda234f8c1 user: mario tags: trunk | |
Changes
Modified dev/install_python_gtk.ps1 from [6992f65b66] to [b28e25db0a].
| ︙ | ︙ | |||
194 195 196 197 198 199 200 |
$host.UI.RawUI.set_bufferSize($MyBuffer)
$host.UI.RawUI.set_windowSize($MyWindow)
}
}
#-- create Desktop/Startmenu shortcuts
function Make-Shortcut {
| | | 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 |
$host.UI.RawUI.set_bufferSize($MyBuffer)
$host.UI.RawUI.set_windowSize($MyWindow)
}
}
#-- create Desktop/Startmenu shortcuts
function Make-Shortcut {
param($dir, $name, $target, $arg=$false, $parm=$false, [parameter(ValueFromRemainingArguments=$true)]$kwargs=0)
if (!(Test-Path -Path $dir)) {
New-Item -Path $dir -ItemType directory > $null
}
$wsh = New-Object -ComObject WScript.Shell
if (!$wsh) { return }
$lnk = $wsh.CreateShortcut("$dir\$name")
$lnk.TargetPath = $target
|
| ︙ | ︙ |