예제 #1
0
        private void FirstTimeSetup()
        {
            String defaultPath;
            String path;

            if (_leagueClient.GetDefaultReplayFolder(out defaultPath) && _leagueClient.GetReplayFolder(out path))
            {
                if (defaultPath != path)
                {
                    lstReplayFolders.Items.Add(defaultPath);
                }

                lstReplayFolders.Items.Add(path);
            }
            UpdateReplayList();

            //Todo: Cut Down?
            //EG: E:/Games/Riot Games/League of Legends/RADS/solutions/lol_game_client_sln/releases/0.0.1.198/deploy/
            //Cut off version number + deploy?
            txtGameLocation.Text = _leagueClient.GetLeagueOfLegendsExecutableLocation();
        }