コード例 #1
0
        public ModFolder(Mod mod)
        {
            DisplayName      = mod.DisplayName;
            FilePath         = mod.FilePath;
            UniqueIdentifier = mod.UniqueIdentifier;
            Source           = mod.Source;

            var symbLink = System.IO.Path.Combine(LoadService.config.GamePath, "Mods", System.IO.Path.GetFileNameWithoutExtension(mod.FilePath));

            HasSymbLink = Directory.Exists(symbLink) && LoadService.IsSymbolic(symbLink);
        }