1 # git-gui Misc. native Windows 32 support
2 # Copyright (C) 2007 Shawn Pearce
4 proc win32_read_lnk
{lnk_path
} {
5 return [exec cscript.exe
\
8 [file join $::oguilib win32_shortcut.js
] \
12 proc win32_create_lnk
{lnk_path lnk_exec lnk_dir
} {
15 set lnk_args
[lrange $lnk_exec 1 end
]
16 set lnk_exec
[lindex $lnk_exec 0]
18 eval [list exec wscript.exe
\
21 [file join $oguilib win32_shortcut.js
] \
23 [file join $oguilib git-gui.ico
] \