set has_fauxlink [expr {![catch {package require fauxlink}]}]
set has_fauxlink [expr {![catch {package require fauxlink}]}]
#While .lnk files are windows specific, we want to be able to resolve them on other platforms if possible, so we try to load punk::winlnk on all platforms.
set has_winlnk [expr {![catch {package require punk::winlnk}]}]
set has_winlnk [expr {![catch {package require punk::winlnk}]}]
if {!$opt_noredirect && ($has_fauxlink || $has_winlnk)} {
if {!$opt_noredirect && ($has_fauxlink || $has_winlnk)} {