     distro_option = --distro-guid %distro_guid%
 }
 
-mintty_base = "%A_ScriptDir%\bin\mintty" --wsl --rootfs=// --configdir "%A_ScriptDir%\etc" %icon_option%
+mintty_base = "%A_ScriptDir%\bin\mintty" --wsl --rootfs=// --configdir "%A_ScriptDir%\etc" -i "%icon_path%"
 wslbridge_base = -e /bin/wslbridge %distro_option% -e SHELL="%shell%" -e LANG
 
 ; Run as run-wsl-file or any editor {{{1

}

if (cmd != "") {
    Run, %mintty_base% %mintty_options% -t "%title%" %wslbridge_base% %opts% %cmd%
}

; Activate window {{{1

}

; Prepare mintty_base and wslbridge_base {{{1
icon_path = %A_ScriptFullPath%
if (icon != "" && FileExist(icon)) {
    icon_path = %icon%
}

distro_option := ""
