<commit_before>﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using TileIconifier.Utilities;

namespace TileIconifier
{
    public class ShortcutItem : ListViewItem
    {

        private string _exeFilePath;
        public string ExeFilePath
        {
            get
            {
                if (string.IsNullOrEmpty(_exeFilePath))
                    _exeFilePath = ShortcutUtils.GetShortcutTarget(ShortcutFileInfo.FullName);
                return Path.GetExtension(_exeFilePath) == ".exe" ? _exeFilePath : null;
            }
        }

        public string VisualElementManifestPath
        {
            get
            {
                return string.Format("{0}{1}.VisualElementsManifest.xml", ExeFolderPath, Path.GetFileNameWithoutExtension(ExeFilePath));
            }
        }

        public string ExeFolderPath
        {
            get
            {
                return Path.GetDirectoryName(ExeFilePath) + "\\";
            }
        }

        public string VisualElementsPath
        {
            get
            {
                return ExeFolderPath + @"\VisualElements\";
            }
        }

        public string MediumIconName
        {<commit_msg>Fixed lowercase detection bug<commit_after>﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using TileIconifier.Utilities;

namespace TileIconifier
{
    public class ShortcutItem : ListViewItem
    {

        private string _exeFilePath;
        public string ExeFilePath
        {
            get
            {
                if (string.IsNullOrEmpty(_exeFilePath))
                    _exeFilePath = ShortcutUtils.GetShortcutTarget(ShortcutFileInfo.FullName);
                return string.Equals(Path.GetExtension(_exeFilePath), ".exe", StringComparison.InvariantCultureIgnoreCase) ? _exeFilePath : null;
            }
        }

        public string VisualElementManifestPath
        {
            get
            {
                return string.Format("{0}{1}.VisualElementsManifest.xml", ExeFolderPath, Path.GetFileNameWithoutExtension(ExeFilePath));
            }
        }

        public string ExeFolderPath
        {
            get
            {
                return Path.GetDirectoryName(ExeFilePath) + "\\";
            }
        }

        public string VisualElementsPath
        {
            get
            {
                return ExeFolderPath + @"\VisualElements\";
            }
        }

        public string MediumIconName
        {
{'fraction_non_alphanumeric': 0.07488986784140969, 'fraction_numerical': 0.0014684287812041115, 'mean_word_length': 1.746975806451613, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7305950', 'n_tokens_mistral': 699, 'n_tokens_neox': 672, 'n_words': 132}