Skip to content

Commit 49a288a

Browse files
authored
Update README.md
1 parent 0b858cd commit 49a288a

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Alternative Launchers: https://github.com/unitycoder/UnityLauncherPro/wiki/Alter
4545

4646
### Add IRC Chat to Hub window (using iframe)
4747
- Tested on Hub 3.6.1
48-
- Open nuild/renderer/index.html
48+
- Open _build/renderer/index.html_
4949
- Add any IRC embed code before ```</body>```, like: ```<iframe src="https://chat.undernet.org/" style="background: #444; width:99%; height:450px;"></iframe>```
5050
- Video example: https://www.youtube.com/watch?v=3e9FSimbdfk
5151
- ![GF2Au1-XUAEEra3](https://github.com/unitycoder/UnityHubModding/assets/5438317/3bb074e3-4118-4eef-ac6f-d03ff45eefdf)
@@ -61,3 +61,11 @@ Alternative Launchers: https://github.com/unitycoder/UnityLauncherPro/wiki/Alter
6161
- https://unitycoder.com/blog/2024/03/06/custom-unity-hub-project-template-preview-image-video-using-htmlcss-in-package-description/
6262
- ![ssprojecttemplate2024-03-06 11-39-57](https://github.com/unitycoder/UnityHubModding/assets/5438317/c054a96c-5e58-4842-8fb4-ac0b5fee16c9)
6363

64+
### Enable Buildin Login Dialog (no more browser login/logout issues with multiple accounts!)
65+
- Open Unity _Hub\resources\app\build\main\services\authService\AuthService.js_
66+
- Find line: <br> ```if ((0, appDefaultProtocolClientHelpers_1.isUnityHubProtocolHandled)()) {```
67+
- Replace with<br> ```if (1==0 && (0, appDefaultProtocolClientHelpers_1.isUnityHubProtocolHandled)())```
68+
- (to make this “if” be false, so that createLoginWindow gets called instead)
69+
- info https://unitycoder.com/blog/2024/04/26/unityhub-enable-builtin-login-dialog-no-more-browser-login-logout-issues/
70+
- ![image](https://github.com/unitycoder/UnityHubModding/assets/5438317/43afdd85-d3f4-491c-9bba-8e1af4b9c9e0)
71+

0 commit comments

Comments
 (0)