-
Notifications
You must be signed in to change notification settings - Fork 56
Technical details
mika edited this page Nov 7, 2022
·
2 revisions
How and what this application does?
- This is default wpf c# project settings file https://learn.microsoft.com/en-us/dotnet/desktop/winforms/advanced/application-settings-architecture?view=netframeworkdesktop-4.8&redirectedfrom=MSDN
- Location: C:\Users\USERNAME\AppData\Local\UnityCoder.com\UnityLauncherPro.exe_Url_(random_string)\1.0.0.1\user.config
- On SaveSettingsOnExit() backup copy of this "user.config" file is created "user.config.bak"
- If LoadSettings() try-catch fails reading settings, then .bak file is copied over corrupted "user.config" file and user needs to start application again
- To reset application settings, "user.config" and ""user.config.bak" files can be deleted
- Reads Unity "editor.log" https://docs.unity3d.com/Manual/LogFiles.html
- Parses "editor.log" for build report data
- When you enter "Updates" tab, WebClient downloads list of released unity versions from http://symbolserver.unity3d.com/000Admin/history.txt
- List is loaded only once per run, unless you press refresh
- Launches "cmd.exe /c adb logcat " + adbLogCatArgs
- Requires adb.exe to be in environment PATH
- Tools.LaunchWebGL() runs "SimpleWebServer.exe" from Unity installation folder (this is Unity's own local webgl server)
- "Mono.exe" is used to launch "SimpleWebServer.exe", as it had some errors if launched directly
- WebGL launcher also checks for first available port using https://stackoverflow.com/questions/570098/in-c-how-to-check-if-a-tcp-port-is-available/2793289#2793289