Skip to content

Commit 168e0fc

Browse files
authored
Update README.md
1 parent f2342a7 commit 168e0fc

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,41 +26,48 @@ Alternative Launchers: https://github.com/unitycoder/UnityLauncherPro/wiki/Alter
2626
- open build/renderer/main.js
2727
- find line:<br> ```{testId:"connect-services-checkbox",id:"unified-project-enabled-checkbox",isChecked:Y,onChange```
2828
- replace with:<br> ```{testId:"connect-services-checkbox",id:"unified-project-enabled-checkbox",isChecked:0==1,onChange```
29+
<hr>
2930

3031
### Enable Create Project Button (without having to select Cloud Organization)
3132
- Tested on Hub 3.6.1
3233
- open build/renderer/main.js
3334
- find line:<br> ```{r({id:"cancel-create-project",label:"Cancel"}),e()},testId:`cancel-project-${i.name}`},n("common:CANCEL")),s.default.createElement(u.Button,{isDisabled:o||S,onClick:function(){r```
3435
- replace with:<br> ```{r({id:"cancel-create-project",label:"Cancel"}),e()},testId:`cancel-project-${i.name}`},n("common:CANCEL")),s.default.createElement(u.Button,{isDisabled:1==0,onClick:function()```
3536
- ![GGKi2WcXEAAT6EX](https://github.com/unitycoder/UnityHubModding/assets/5438317/699475de-a59b-47f8-a3d0-2a10cb8f3af8)
37+
<hr>
3638

3739
### Remove Version Control & Cloud Dashboard columns
3840
- Tested on Hub 3.6.1
3941
- https://unitycoder.com/blog/2023/10/29/unityhub-3-6-0-remove-version-control-cloud-dashboard-columns/
4042
- ![image](https://github.com/unitycoder/UnityHubModding/assets/5438317/426aa7bb-9752-47bf-bfb4-d8ab1001a607)
41-
43+
<hr>
44+
4245
### Add Support for Custom Project Titles from ProjectName.txt or ProjectSettings ProductName field (instead of using folder name)
4346
- Tested on Hub 3.6.1
4447
- https://unitycoder.com/blog/2023/12/07/unityhub-add-support-for-custom-project-titles-instead-of-folder-name/
4548
- ![upload_2023-12-7_13-47-12](https://github.com/unitycoder/UnityHubModding/assets/5438317/69337194-6d55-455b-affb-9a8789b952f9)
49+
<hr>
4650

4751
### Add IRC Chat to Hub window (using iframe)
4852
- Tested on Hub 3.6.1
4953
- Open _build/renderer/index.html_
5054
- Add any IRC embed code before ```</body>```, like: ```<iframe src="https://chat.undernet.org/" style="background: #444; width:99%; height:450px;"></iframe>```
5155
- Video example: https://www.youtube.com/watch?v=3e9FSimbdfk
5256
- ![GF2Au1-XUAEEra3](https://github.com/unitycoder/UnityHubModding/assets/5438317/3bb074e3-4118-4eef-ac6f-d03ff45eefdf)
57+
<hr>
5358

5459
### Custom Styles
5560
- tested in Hub 3.0.x
5661
- Light color theme example, but you could modify the css to anything else https://unitycoder.com/blog/2022/03/02/customize-unityhub-colors/
5762
- ![image](https://github.com/unitycoder/UnityHubModding/assets/5438317/90c77478-fe4f-43d2-ba7e-3090dedc9d46)
63+
<hr>
5864

5965
### Custom Previews (or any html) for Project Templates description
6066
- This doesn't require modifying Hub sources! it just works.
6167
- Modify package.json to add HTML+CSS
6268
- https://unitycoder.com/blog/2024/03/06/custom-unity-hub-project-template-preview-image-video-using-htmlcss-in-package-description/
6369
- ![ssprojecttemplate2024-03-06 11-39-57](https://github.com/unitycoder/UnityHubModding/assets/5438317/c054a96c-5e58-4842-8fb4-ac0b5fee16c9)
70+
<hr>
6471

6572
### Enable Buildin Login Dialog (no more browser login/logout issues with multiple accounts!)
6673
- Open Unity _Hub\resources\app\build\main\services\authService\AuthService.js_
@@ -70,11 +77,13 @@ Alternative Launchers: https://github.com/unitycoder/UnityLauncherPro/wiki/Alter
7077
- Alternative to modifying source: Could try disabling "UnityHub" protocol from Registry, since the code tries to check for it "isUnityHubProtocolHandled"
7178
- info https://unitycoder.com/blog/2024/04/26/unityhub-enable-builtin-login-dialog-no-more-browser-login-logout-issues/
7279
- ![image](https://github.com/unitycoder/UnityHubModding/assets/5438317/43afdd85-d3f4-491c-9bba-8e1af4b9c9e0)
80+
<hr>
7381

7482
### Completely quit Unity Hub when you press X (window close button)
7583
- Open baseWindow.js
7684
- add ```const electron_1 = require("electron");``` at the top (next to other require lines)
7785
- Find line ```logger.debug('close event is prevented, browser window will be hidden');```
7886
- add this line after it ```electron_1.app.quit();```
87+
<hr>
7988

8089
<br><br><br><br><br><br><br><br><br><br><br><br>

0 commit comments

Comments
 (0)