public void CacheAppIcon(string appKey, Texture2D tex, bool force = false)
{
RenderTexture rt = new RenderTexture(32, 32, 24, RenderTextureFormat.ARGB32);
Graphics.Blit(tex, rt);
Directory.CreateDirectory(iconCacheFolder);
string path = Path.Combine(iconCacheFolder, appKey + ".png");
DumpRenderTexture(rt, path);
}