title: Set a Windows exe icon from Linux (without Wine ?)
body: <p>I'm trying to set a Windows executable icon with a Bash script in Linux, but I can't find anything relevant.  </p>
  
  <p>I have found this tool <a href="http://www.nongnu.org/icoutils/" rel="nofollow noreferrer">www.nongnu.org/icoutils</a>, but it seems to me that you can only extract .ico file from the executable (then convert it into png), or do the opposite: it takes pngs and it creates an .ico BUT it can't write the new ico into the executable.
  Am I right or wrong ? What should I do ?</p>
  
  <p>By the way, I've found <a href="https://stackoverflow.com/questions/13804344/how-to-change-windows-exe-files-icon-in-linux-without-wine">this thread</a> and <a href="https://stackoverflow.com/questions/18663778/how-to-change-the-icon-of-a-windows-executable-on-linux-macosx?rq=1">this one</a>, but they do not fully answer the question...</p>
  
  <p>Thanks !</p>