File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
UnityMcpBridge/Editor/Helpers Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ public static void EnsureServerInstalled()
4646
4747 if ( IsNewerVersion ( latestVersion , installedVersion ) )
4848 {
49+ Debug . Log ( $ "is newer version") ;
4950 UpdateServer ( saveLocation ) ;
5051 }
5152 else { }
@@ -163,9 +164,8 @@ private static string GetLatestVersion()
163164 /// </summary>
164165 private static void UpdateServer ( string location )
165166 {
166- // Pull latest changes in the src directory
167- string serverDir = Path . Combine ( location , ServerFolder , "src" ) ;
168- RunCommand ( "git" , $ "pull origin { BranchName } ", workingDirectory : serverDir ) ;
167+ Debug . Log ( "updating server" ) ;
168+ RunCommand ( "git" , $ "pull origin { BranchName } ", workingDirectory : location ) ;
169169 }
170170
171171 /// <summary>
You can’t perform that action at this time.
0 commit comments