Skip to content
This repository was archived by the owner on Jan 8, 2023. It is now read-only.

Commit d60506f

Browse files
committed
Add more tweak
1 parent cf349ba commit d60506f

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

README.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,41 @@ asar pack app app.asar
5050

5151
- Replace the app.asar file
5252

53+
## Advanced Tweak
54+
55+
- Hide Learn
56+
57+
remove `ei.LEARN_TAB,` in `/app/client/dist/main.js`
58+
59+
```js
60+
this.localConfigClient.isLearnDisabled()
61+
? this.mainNavItems.push(ei.PROJECT_TAB, ei.INSTALL_TAB)
62+
: this.mainNavItems.push(
63+
ei.PROJECT_TAB,
64+
ei.INSTALL_TAB
65+
),
66+
```
67+
68+
- Hide Community
69+
70+
Searching 'community.html' in `/app/client/dist/main.js`,then change the function to below
71+
72+
```js
73+
function (e, t, n) {
74+
var i =
75+
'/Users/bokken/buildslave/uw-hub/build/client/apps/main/components/community/community.html',
76+
o =
77+
'<h1>Unity</h1>'
78+
window.angular.module('ng').run([
79+
'$templateCache',
80+
function (e) {
81+
e.put(i, o)
82+
},
83+
]),
84+
(e.exports = i)
85+
},
86+
```
87+
5388
## License
5489

5590
MIT

dist/app.asar

260 KB
Binary file not shown.

0 commit comments

Comments
 (0)