コード例 #1
0
        public void CopyGameBinaries(string targetFolder)
        {
            Console.WriteLine("Copying game binaries");
            var binariesFolder = GetGameBinariesFolder(gamePath);

            FilesystemUtil.CopyDirectory(binariesFolder, targetFolder);
            Console.WriteLine("Copied game binaries");
        }
コード例 #2
0
        public void CopyLocalMonomod(string targetFolder)
        {
            Console.WriteLine("Copying local MonoMod installation");
            var monomodFolder = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "MonoMod");

            FilesystemUtil.CopyDirectory(monomodFolder, targetFolder);
            Console.WriteLine("Copied local MonoMod installation");
        }