@@ -26,41 +26,48 @@ Alternative Launchers: https://github.com/unitycoder/UnityLauncherPro/wiki/Alter
26
26
- open build/renderer/main.js
27
27
- find line:<br > ``` {testId:"connect-services-checkbox",id:"unified-project-enabled-checkbox",isChecked:Y,onChange ```
28
28
- replace with:<br > ``` {testId:"connect-services-checkbox",id:"unified-project-enabled-checkbox",isChecked:0==1,onChange ```
29
+ <hr >
29
30
30
31
### Enable Create Project Button (without having to select Cloud Organization)
31
32
- Tested on Hub 3.6.1
32
33
- open build/renderer/main.js
33
34
- 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 ```
34
35
- 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() ```
35
36
- ![ GGKi2WcXEAAT6EX] ( https://github.com/unitycoder/UnityHubModding/assets/5438317/699475de-a59b-47f8-a3d0-2a10cb8f3af8 )
37
+ <hr >
36
38
37
39
### Remove Version Control & Cloud Dashboard columns
38
40
- Tested on Hub 3.6.1
39
41
- https://unitycoder.com/blog/2023/10/29/unityhub-3-6-0-remove-version-control-cloud-dashboard-columns/
40
42
- ![ image] ( https://github.com/unitycoder/UnityHubModding/assets/5438317/426aa7bb-9752-47bf-bfb4-d8ab1001a607 )
41
-
43
+ <hr >
44
+
42
45
### Add Support for Custom Project Titles from ProjectName.txt or ProjectSettings ProductName field (instead of using folder name)
43
46
- Tested on Hub 3.6.1
44
47
- https://unitycoder.com/blog/2023/12/07/unityhub-add-support-for-custom-project-titles-instead-of-folder-name/
45
48
- ![ upload_2023-12-7_13-47-12] ( https://github.com/unitycoder/UnityHubModding/assets/5438317/69337194-6d55-455b-affb-9a8789b952f9 )
49
+ <hr >
46
50
47
51
### Add IRC Chat to Hub window (using iframe)
48
52
- Tested on Hub 3.6.1
49
53
- Open _ build/renderer/index.html_
50
54
- Add any IRC embed code before ``` </body> ``` , like: ``` <iframe src="https://chat.undernet.org/" style="background: #444; width:99%; height:450px;"></iframe> ```
51
55
- Video example: https://www.youtube.com/watch?v=3e9FSimbdfk
52
56
- ![ GF2Au1-XUAEEra3] ( https://github.com/unitycoder/UnityHubModding/assets/5438317/3bb074e3-4118-4eef-ac6f-d03ff45eefdf )
57
+ <hr >
53
58
54
59
### Custom Styles
55
60
- tested in Hub 3.0.x
56
61
- Light color theme example, but you could modify the css to anything else https://unitycoder.com/blog/2022/03/02/customize-unityhub-colors/
57
62
- ![ image] ( https://github.com/unitycoder/UnityHubModding/assets/5438317/90c77478-fe4f-43d2-ba7e-3090dedc9d46 )
63
+ <hr >
58
64
59
65
### Custom Previews (or any html) for Project Templates description
60
66
- This doesn't require modifying Hub sources! it just works.
61
67
- Modify package.json to add HTML+CSS
62
68
- https://unitycoder.com/blog/2024/03/06/custom-unity-hub-project-template-preview-image-video-using-htmlcss-in-package-description/
63
69
- ![ ssprojecttemplate2024-03-06 11-39-57] ( https://github.com/unitycoder/UnityHubModding/assets/5438317/c054a96c-5e58-4842-8fb4-ac0b5fee16c9 )
70
+ <hr >
64
71
65
72
### Enable Buildin Login Dialog (no more browser login/logout issues with multiple accounts!)
66
73
- Open Unity _ Hub\resources\app\build\main\services\authService\AuthService.js_
@@ -70,11 +77,13 @@ Alternative Launchers: https://github.com/unitycoder/UnityLauncherPro/wiki/Alter
70
77
- Alternative to modifying source: Could try disabling "UnityHub" protocol from Registry, since the code tries to check for it "isUnityHubProtocolHandled"
71
78
- info https://unitycoder.com/blog/2024/04/26/unityhub-enable-builtin-login-dialog-no-more-browser-login-logout-issues/
72
79
- ![ image] ( https://github.com/unitycoder/UnityHubModding/assets/5438317/43afdd85-d3f4-491c-9bba-8e1af4b9c9e0 )
80
+ <hr >
73
81
74
82
### Completely quit Unity Hub when you press X (window close button)
75
83
- Open baseWindow.js
76
84
- add ``` const electron_1 = require("electron"); ``` at the top (next to other require lines)
77
85
- Find line ``` logger.debug('close event is prevented, browser window will be hidden'); ```
78
86
- add this line after it ``` electron_1.app.quit(); ```
87
+ <hr >
79
88
80
89
<br ><br ><br ><br ><br ><br ><br ><br ><br ><br ><br ><br >
0 commit comments