def generateICO():
    ffmpeg = getFFMpegExe()
    if (not ffmpeg):
        logging.root.warning('FFMPEG not found :(')
        return
    f = ('%s-logo.png' % _BASENAME)
    folder = resourcePath('icons')
    infilename = ('%s/%s' % (folder, f))
    outfilename = ('%s/%s.ico' % (folder, os.path.splitext(f)[0]))
    print(('Writing: %s' % outfilename))
    cmd = [ffmpeg, '-loglevel', 'panic', '-y', '-i', infilename, outfilename]
    cmd = [str(c) for c in cmd]
    subprocess.Popen(cmd).communicate()
def generateICO():
    ffmpeg = getFFMpegExe()
    if (not ffmpeg):
        logging.root.warning('FFMPEG not found :(')
        return
    f = ('%s-logo.png' % _BASENAME)
    folder = resourcePath('icons')
    infilename = ('%s/%s' % (folder, f))
    outfilename = ('%s/%s.ico' % (folder, os.path.splitext(f)[0]))
    print(('Writing: %s' % outfilename))
    cmd = [ffmpeg, '-loglevel', 'panic', '-y', '-i', infilename, outfilename]
    cmd = [str(c) for c in cmd]
    subprocess.Popen(cmd).communicate()