Skip to content

Commit 6f112d0

Browse files
authored
feat: rewrite frontend w/ preact & tailwind (#305)
* feat!: migrate to preact & tailwind * fix: eslint * feat: expand form * feat: implement terminal * feat: implement settings menu * refactor: colors and UX * fix: add Settings.tsx * refactor: color consistency * refactor: sort tailwind classes using rustywind * refactor: settings screen * refactor: more styling, expand conditionals * refactor: organize imports * docs: update with new image and gif * chore: set version to 3.2.0
1 parent 855d31f commit 6f112d0

29 files changed

+578
-2988
lines changed

README.md

Lines changed: 21 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
→ <a href="https://www.youtube.com/watch?v=H2COwT5OUOo" target="_blank"><b>Tutorial</b></a> ~
66
<a href="https://depotdownloader.aphex.cc/" target="_blank"><b>Website</b></a> ~
7-
<a href="https://www.youtube.com/watch?v=ogiDAuH3VdY" target="_blank"><b>Example usage</b></a> ←
7+
<a href="https://www.youtube.com/watch?v=ogiDAuH3VdY" target="_blank"><b>Downgrade Subnautica</b></a> ←
88
</h4>
99

1010

@@ -13,19 +13,26 @@
1313
<a href="https://github.com/mmvanheusden/SteamDepotDownloaderGUI/releases/latest"><img src="https://img.shields.io/github/downloads/mmvanheusden/SteamDepotDownloaderGUI/total?color=orange&label=downloads" alt="Download count badge"></a>
1414

1515

16-
<img src="https://github.com/user-attachments/assets/0a2debcc-617a-449d-971f-9e1cf1d5cb0b" alt="Steam downgrader interface" />
16+
<img src="https://github.com/user-attachments/assets/e2de938d-e54d-4f30-a405-b0d9d2d8e4d9" alt="Steam downgrader interface" />
1717
</div>
1818

1919
## Features
2020
> *The downloader in action:*<br>
21-
> <img src="https://github.com/user-attachments/assets/8739f06e-a258-48b2-a684-ca8fcf84dd7e" alt="Steam downgrader process" style="width: 25svw;"/>
21+
> <img src="https://github.com/user-attachments/assets/7d8a97b8-79df-4c54-a74b-fb7b4b85913c" alt="Steam downgrader process" style="width: 25svw;"/>
22+
2223

2324
### Cross-platform support
24-
| OS | Supported |
25-
|---------|-----------|
26-
| Windows ||
27-
| Linux ||
28-
| macOS ||
25+
| OS | Support |
26+
|---------|---------|
27+
| Windows ||
28+
| Linux ||
29+
| macOS ||
30+
31+
32+
> [!TIP]
33+
> ## Tutorials
34+
> * https://www.youtube.com/watch?v=H2COwT5OUOo How to download older versions of Steam games tutorial
35+
> * https://www.youtube.com/watch?v=ogiDAuH3VdY How to download older versions of Subnautica tutorial
2936
3037
## Installation
3138
> [!CAUTION]
@@ -41,18 +48,11 @@ Download the [latest Windows release](https://github.com/mmvanheusden/SteamDepot
4148
You'll need at least one of the supported terminal emulators. You most likely already have one of these.
4249
Download the [latest Linux release](https://github.com/mmvanheusden/SteamDepotDownloaderGUI/releases/latest). There are multiple formats to choose from.
4350

44-
## Tutorials
45-
* https://www.youtube.com/watch?v=H2COwT5OUOo How to download older versions of Steam games tutorial
46-
47-
* https://www.youtube.com/watch?v=ogiDAuH3VdY How to download older versions of Subnautica tutorial
48-
49-
5051
## Credits
5152
This software makes use of the following projects:
52-
- [**DepotDownloader**](https://github.com/SteamRE/DepotDownloader/)
53+
- [**DepotDownloader**](https://github.com/SteamRE/DepotDownloader)
5354
- [Tauri](https://tauri.app)
54-
- [Primer CSS](https://primer.style/css/)
55-
- [async-process](https://github.com/smol-rs/async-process)
55+
- [Preact](https://preactjs.com)
5656
- [Hubut Sans](https://github.com/github/hubot-sans) under [license](https://github.com/github/hubot-sans/blob/05d5ea150c20e6434485db8ffd2277ed18a9e911/LICENSE)
5757

5858

@@ -66,13 +66,9 @@ Please cleanup the code using:
6666
```console
6767
$ pnpm eslint --fix src/
6868
```
69+
Please also sort Tailwind classes using [RustyWind](https://github.com/avencera/rustywind).
6970

7071

71-
<p align="center">
72-
<a href="https://www.gnu.org/licenses/gpl-3.0" target="_blank">
73-
<img src="https://github.com/mmvanheusden/SteamDepotDownloaderGUI/assets/50550545/b5649b7f-ea49-45c4-b0cd-5f3788dcd6ca" height="40px">
74-
</a>
75-
<a href="https://aphex.cc" target="_blank">
76-
<img src="https://github.com/mmvanheusden/SteamDepotDownloaderGUI/assets/50550545/83f5f3b2-2bf9-41aa-ab87-880466f785fe" height="40px">
77-
</a>
78-
</p>
72+
<a href="https://www.gnu.org/licenses/gpl-3.0" target="_blank">
73+
<img src="https://github.com/mmvanheusden/SteamDepotDownloaderGUI/assets/50550545/b5649b7f-ea49-45c4-b0cd-5f3788dcd6ca" height="40px" alt="GPL v3">
74+
</a>

eslint.config.js

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,15 @@
1-
// @ts-check
2-
3-
import eslint from '@eslint/js';
4-
import {defineConfig} from 'eslint/config';
1+
import { defineConfig } from 'eslint/config';
52
import tseslint from 'typescript-eslint';
63

74
export default defineConfig(
8-
eslint.configs.recommended,
5+
tseslint.configs.recommendedTypeChecked,
96
tseslint.configs.stylisticTypeChecked,
107
{
118
languageOptions: {
129
parserOptions: {
13-
project: 'tsconfig.json',
14-
},
10+
project: 'tsconfig.json',
11+
},
1512
},
16-
},
17-
{
1813
files: ["src/**"],
1914
rules: {
2015
"semi": ["error", "always"], // semicolons

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vectum",
33
"private": true,
4-
"version": "3.1.0",
4+
"version": "3.2.0",
55
"type": "module",
66
"license": "GPL-3.0-only",
77
"scripts": {
@@ -15,16 +15,16 @@
1515
"@tauri-apps/api": "2.9.1",
1616
"@tauri-apps/plugin-dialog": "2.6.0",
1717
"@tauri-apps/plugin-opener": "~2.5.3",
18-
"@tauri-apps/plugin-shell": "2.3.4",
1918
"@xterm/addon-fit": "^0.11.0",
2019
"@xterm/xterm": "^6.0.0",
21-
"jquery": "^4.0.0",
20+
"preact": "^10.25.1",
2221
"tailwindcss": "^4.1.18"
2322
},
2423
"devDependencies": {
2524
"@eslint/js": "^9.39.2",
25+
"@iconify-icon/react": "^3.0.3",
26+
"@preact/preset-vite": "^2.9.3",
2627
"@tauri-apps/cli": "2.9.6",
27-
"@types/jquery": "^3.5.33",
2828
"eslint": "^9.39.2",
2929
"typescript": "^5.9.3",
3030
"typescript-eslint": "^8.54.0",

0 commit comments

Comments
 (0)