You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Debug.LogWarning($"[com.nomnom.unity-project-patcher] is <color=yellow>outdated</color>. Please update to {toolVersion} from \"{toolGit}\". Current version: {currentToolVersion}.");
98
98
}else{
99
-
Debug.Log($"[com.nomnom.unity-project-patcher] is up to date. Current version: {currentToolVersion}.");
99
+
//Debug.Log($"[com.nomnom.unity-project-patcher] is up to date. Current version: {currentToolVersion}.");
100
100
}
101
101
}else{
102
102
Debug.LogWarning($"Failed to fetch [com.nomnom.unity-project-patcher] version from \"{toolGit}\".");
Debug.LogWarning($"[com.nomnom.unity-project-patcher-bepinex] is <color=yellow>outdated</color>. Please update to {bepinexVersion} from \"{bepinexGit}\". Current version: {currentBepInExVersion}.");
113
113
}else{
114
-
Debug.Log($"[com.nomnom.unity-project-patcher-bepinex] is up to date. Current version: {currentBepInExVersion}.");
114
+
//Debug.Log($"[com.nomnom.unity-project-patcher-bepinex] is up to date. Current version: {currentBepInExVersion}.");
115
115
}
116
116
}else{
117
117
Debug.LogWarning($"Failed to fetch [com.nomnom.unity-project-patcher-bepinex] version from \"{bepinexGit}\".");
Debug.LogWarning($"[{gamePackage.name}] is <color=yellow>outdated</color>. Please update to {gameVersion} from \"{gameGit}\". Current version: {currentGameVersion}.");
137
137
}else{
138
-
Debug.Log($"[{gamePackage.name}] is up to date. Current version: {currentGameVersion}.");
138
+
//Debug.Log($"[{gamePackage.name}] is up to date. Current version: {currentGameVersion}.");
139
139
}
140
140
}else{
141
141
Debug.LogWarning($"Failed to fetch [{gamePackage.name}] version from \"{gameGit}\".");
@@ -194,6 +194,7 @@ private void OnGUI() {
194
194
}
195
195
196
196
EditorGUILayout.LabelField("All config assets will be made at the root of your project by default!",EditorStyles.centeredGreyMiniLabel);
197
+
EditorGUILayout.LabelField("Configs can be focused via \"Tools > Unity Project Patcher > Configs\"",EditorStyles.centeredGreyMiniLabel);
EditorUtility.DisplayDialog("Error","Please select a valid game folder!\n\nPlease fix this in your UPPatcherUserSettings asset!","Focus UPPatcherUserSettings");
225
+
EditorUtility.DisplayDialog("Error","Please select a valid game folder!\n\nPlease fix this in your UPPatcherUserSettings asset!\n\n"+@"This path is absolute to your game folder. Such as: ""C:\Program Files (x86)\Steam\steamapps\common\Lethal Company""","Focus UPPatcherUserSettings");
225
226
EditorUtility.FocusProjectWindow();
226
227
Selection.activeObject=userSettings;
227
228
EditorGUIUtility.PingObject(userSettings);
@@ -258,10 +259,16 @@ private void OnGUI() {
258
259
259
260
if(PatcherUtility.IsProbablyPatched()){
260
261
if(!EditorUtility.DisplayDialog("Warning","The project seems to already be patched. Are you sure you want to continue? This may lead to unrecoverable changes.\n\nMake sure you back up your project before doing this!","Yes","No")){
262
+
Debug.LogWarning("Patcher stopped early");
261
263
return;
262
264
}
263
265
}
264
266
267
+
if(!EditorUtility.DisplayDialog("Note","The patcher will take a while to complete. It will also restart multiple times.\n\nDo not touch Unity unless a popup shows up for an error, the patcher completing, or another reason.","OK")){
0 commit comments