Skip to content

Commit 931c19d

Browse files
readme
1 parent 57a0c23 commit 931c19d

File tree

4 files changed

+57
-22
lines changed

4 files changed

+57
-22
lines changed

.github/res/screenshot.png

197 KB
Loading

Counter/MainWindow.cs

Lines changed: 12 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -124,14 +124,18 @@ public MainWindow(object data)
124124
{
125125
}.AddChildren
126126
([
127-
//s_projectSearchBox = new TextBox
128-
//{
129-
// Watermark = "Search projects...",
130-
// HorizontalAlignment = HorizontalAlignment.Stretch,
131-
// InnerRightContent = new Label
132-
// {
133-
// }
134-
//}.OnTextChanged(OnProjectSearchTextChanged).SetDock(Dock.Top),
127+
s_projectSearchBoxAutoComplete = new AutoCompleteBox
128+
{
129+
FilterMode = AutoCompleteFilterMode.None,
130+
IsTextCompletionEnabled = true,
131+
AsyncPopulator = PopulateUnityProjectSearchAutoCompletion,
132+
Watermark = "Search Projects",
133+
InnerRightContent = new Label
134+
{
135+
Content = "🔍",
136+
HorizontalAlignment = HorizontalAlignment.Right,
137+
},
138+
}.SetDock(Dock.Top),
135139
new StackPanel
136140
{
137141
Orientation = Orientation.Horizontal,
@@ -163,18 +167,6 @@ public MainWindow(object data)
163167
IsEnabled = false,
164168
},
165169
]),
166-
s_projectSearchBoxAutoComplete = new AutoCompleteBox
167-
{
168-
FilterMode = AutoCompleteFilterMode.None,
169-
IsTextCompletionEnabled = true,
170-
AsyncPopulator = PopulateUnityProjectSearchAutoCompletion,
171-
Watermark = "Search Projects",
172-
InnerRightContent = new Label
173-
{
174-
Content = "🔍",
175-
HorizontalAlignment = HorizontalAlignment.Right,
176-
},
177-
}.SetDock(Dock.Top),
178170
new DockPanel
179171
{
180172
}.AddChildren

README.md

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,44 @@
1-
# Counter
1+
# Unity Hub Native .Net
2+
3+
**UnityHubNative.Net** is a lightweight C#/Avalonia alternative to the unnecessarily heavy official Unity Hub, built using [Avalonia](https://avaloniaui.net). This means that, instead of using heavy web components like the official Electron hub, it uses native GUI components on all platforms.
4+
5+
> This project is ***heavily*** inspired by [UnityHubNative](https://github.com/Ravbug/UnityHubNative). Any resemblance is a direct copying of the original project's style. This project aims to bring the project onto the modern UI framrwork of Avalonia in the already-familiar C# language from Unity developers for Unity developers.
6+
7+
It launches many times faster, uses far less memory and CPU, and is a fraction of the total size of the official Unity Hub.
8+
9+
<img width="912" alt="image" src=".github/res/screenshot.png">
10+
11+
## Features 🚀
12+
- Open projects by from the list, or by using the search bar
13+
- View Unity installs by double clicking them in the list views in the Editor Versions section
14+
- Manage Unity installs
15+
- Update projects to a Unity version of your choosing
16+
- Modern Fluent2 theme, including support for dark and light mode and Mica blur for Windows
17+
- *[TBA] Manage Unity licenses*
18+
- *[TBA] Create new unity projects with templates, for any modern Unity version you have installed, with the Create New button*
19+
- *[TBA] Add an existing project to the list using the Add Existing button*
20+
21+
UnityHubNative.Net does not have every feature that the official hub has, but it has most of them. UnityHubNative.Net serves as a shortcut to get into your projects faster.
22+
23+
## Installation 🔧
24+
This application is self-contained.
25+
1. Open the [Releases](https://github.com/somedeveloper00/UnityHubNative.Net/releases) section, and download the version for your platform.
26+
2. Place the executable anywhere. (Recommended `/Applications` on Mac, `C:\Program Files` on Windows, and `/opt` on Linux)
27+
3. Double click to run
28+
29+
## Application data files 📂
30+
This application stores its own files in an application data directory. If the application is behaving unexpectedly or is not working at all, try removing the folder at these locations:
31+
- macOS: `~/Library/Application Support/UnityHubNative`
32+
- Windows: `%APPDATA%/UnityHubNative`
33+
- Linux: `~/UnityHubNative`
34+
> Data path and data format are identical to [UnityHubNative](https://github.com/Ravbug/UnityHubNative)
35+
36+
## Compiling it yourself 🛠️
37+
```
38+
cd Widnows
39+
dotnet publish -c Release -r win-x64
40+
```
41+
42+
## Issues 🐞
43+
Please report all problems in the [Issues](https://github.com/somedeveloper00/UnityHubNative.Net/issues) section of this repository.
44+
Make sure to include as many details as possible.

Windows/Windows.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<OutputType>Exe</OutputType>
4+
<OutputType>WinExe</OutputType>
55
<TargetFramework>net9.0-windows</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>

0 commit comments

Comments
 (0)