From 016bbb64ac753bd53e47b85376455368f5828035 Mon Sep 17 00:00:00 2001 From: TheFatBastid Date: Fri, 12 May 2023 16:57:25 -0400 Subject: [PATCH] Updated Readme to remove duplicate (#307) * Updated Readme to remove duplicate The merge part was duplicated * Added Mogg filename error output Change the error struct to add a file name. Added to when a con error is scanned, "" gets added for .ini songs --- Assets/Script/Song/Scanning/SongScanThread.cs | 8 +++---- Assets/Script/Song/Scanning/SongScanner.cs | 6 +++-- README.md | 22 ------------------- 3 files changed, 8 insertions(+), 28 deletions(-) diff --git a/Assets/Script/Song/Scanning/SongScanThread.cs b/Assets/Script/Song/Scanning/SongScanThread.cs index ef60df94e..bdca3476e 100644 --- a/Assets/Script/Song/Scanning/SongScanThread.cs +++ b/Assets/Script/Song/Scanning/SongScanThread.cs @@ -88,7 +88,7 @@ private void FullScan() { foreach (string cache in _songsByCacheFolder.Keys) { // Folder doesn't exist, so report as an error and skip if (!Directory.Exists(cache)) { - _songErrors[cache].Add(new SongError(cache, ScanResult.InvalidDirectory)); + _songErrors[cache].Add(new SongError(cache, ScanResult.InvalidDirectory, "")); Debug.LogError($"Invalid song directory: {cache}"); continue; @@ -146,7 +146,7 @@ private void ScanSubDirectory(string cacheFolder, string subDir, ICollection **Note** -> -> If you plan on merging branches, I highly recommend following these instructions for easier merges. - -Setup: -1. Open a command prompt to the repository (on VS Code you can do Terminal > New Terminal) -2. Type in `git config --local --edit` -3. In the file that gets opened, go to the bottom and paste this in: (You may need to change the file path depending on where you installed Unity to) -``` -[merge] - tool = unityyamlmerge -[mergetool "unityyamlmerge"] - trustExitCode = false - cmd = 'C:\\Program Files\\Unity\\Hub\\Editor\\2021.3.21f1\\Editor\\Data\\Tools\\UnityYAMLMerge.exe' merge -p "$BASE" "$REMOTE" "$LOCAL" "$MERGED" -``` -4. Save and close the file. - -Resolving conflicts: -1. Start the merge/cherry-pick which is causing conflicts. -2. If the conflict doesn't resolve automatically, open the command prompt and use `git merge-tool`. -3. Verify that the conflict was resolved correctly, then commit/continue the merge. - # ✍️ Contributing If you want to contribute, please feel free! Please join [our Discord](https://discord.gg/sqpu4R552r) if you want your PR/Art merged.