Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/git-gui/lib/win32.tcl # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / git-gui / lib / win32.tcl` 27 lines ยท 631 bytes Raw Blame History 1 # git-gui Misc. native Windows 32 support 2 # Copyright (C) 2007 Shawn Pearce 3 4 proc win32_read_lnk {lnk_path} { 5 return [safe_exec [list cscript.exe \ 6 /E:jscript \ 7 /nologo \ 8 [file join $::oguilib win32_shortcut.js] \ 9 $lnk_path]] 10 } 11 12 proc win32_create_lnk {lnk_path lnk_exec lnk_dir} { 13 global oguilib 14 15 set lnk_args [lrange $lnk_exec 1 end] 16 set lnk_exec [lindex $lnk_exec 0] 17 18 set cmd [list wscript.exe \ 19 /E:jscript \ 20 /nologo \ 21 [file nativename [file join $oguilib win32_shortcut.js]] \ 22 $lnk_path \ 23 [file nativename [file join $oguilib git-gui.ico]] \ 24 $lnk_dir \ 25 $lnk_exec] 26 safe_exec [concat $cmd $lnk_args] 27 }