Skip to content

Commit

Permalink
Complete re-code of everything
Browse files Browse the repository at this point in the history
  • Loading branch information
NotGhoull committed Oct 10, 2024
1 parent ad5c321 commit 5dbf8b9
Show file tree
Hide file tree
Showing 72 changed files with 1,939 additions and 5,413 deletions.
65 changes: 65 additions & 0 deletions .github/workflows/publish-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: "publish-dev"

on:
workflow_dispatch:
push:
branches:
- dev

jobs:
publish-tauri:
permissions:
contents: write
strategy:
fail-fast: false
matrix:
include:
- platform: "macos-latest" # for Arm based macs (M1 and above).
args: "--target aarch64-apple-darwin"
- platform: "macos-latest" # for Intel based macs.
args: "--target x86_64-apple-darwin"
- platform: "ubuntu-22.04"
args: ""
- platform: "windows-latest"
args: ""

runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4

- name: install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-22.04' # This must match the platform value defined above.
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
- name: setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: 1.1.29

- name: install Rust stable
uses: dtolnay/rust-toolchain@stable # Set this to dtolnay/rust-toolchain@nightly
with:
# Those targets are only used on macos runners so it's in an `if` to slightly speed up windows and linux builds.
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}

- name: Rust cache
uses: swatinem/rust-cache@v2
with:
workspaces: "./src-tauri -> target"

- name: install frontend dependencies
# If you don't have `beforeBuildCommand` configured you may want to build your frontend here too.
run: bun install

- uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tagName: app-v__VERSION__-dev # the action automatically replaces \_\_VERSION\_\_ with the app version.
releaseName: "App v__VERSION__-dev"
releaseBody: "See the assets to download this version and install."
releaseDraft: true
prerelease: true
args: ${{ matrix.args }}
56 changes: 4 additions & 52 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,55 +1,7 @@
# Void mod manager
# Tauri + React + Typescript

A very, very, in development mod manager (Made specifically for penguins)
This template should help get you started developing with Tauri, React and Typescript in Vite.

## Features
## Recommended IDE Setup

- Auto finding installed games
- Automatically downloads and installs mods from the built-in mod page
- Automatically set-up game for running mods (Coming soon)
- Access configs for mods without having to launch (Coming soon)
- Profiles (Coming soon)

## FAQ

#### Why is the code so messy?

Honestly, I'm just bad at organisation, it will get better with time, this is my first project made in Rust.

#### I want a new game to be supported, how can I do that?

You can either make the implimentation yourself, and then make a pr or make a feature issue and we'll work on it!

#### Where can I download this?

Until it reaches a stable version (where it's actually usable) I will not be providing any downloads

#### Is this project Linux only?

No, this project will run on Linux and Windows, it's just mostly made for Linux users.

## Run Locally

Clone the project

```bash
git clone https://github.com/NotGhoull/void-mod-manager
```

Go to the project directory

```bash
cd void-mod-manager
```

Install dependencies (Make sure you have rust installed)

```bash
bun i
```

Start the server

```bash
bun run tauri dev
```
- [VS Code](https://code.visualstudio.com/) + [Tauri](https://marketplace.visualstudio.com/items?itemName=tauri-apps.tauri-vscode) + [rust-analyzer](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer)
9 changes: 0 additions & 9 deletions build_all.sh

This file was deleted.

Binary file modified bun.lockb
Binary file not shown.
24 changes: 0 additions & 24 deletions changelog.txt

This file was deleted.

9 changes: 6 additions & 3 deletions components.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,15 @@
"tailwind": {
"config": "tailwind.config.js",
"css": "src/App.css",
"baseColor": "slate",
"baseColor": "gray",
"cssVariables": true,
"prefix": ""
},
"aliases": {
"components": "src/components",
"utils": "src/lib/utils"
"components": "@/components",
"utils": "@/lib/utils",
"ui": "@/components/ui",
"lib": "@/lib",
"hooks": "@/hooks"
}
}
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html lang="en">
<html lang="en" class="dark">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
Expand Down
36 changes: 11 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,41 +10,27 @@
"tauri": "tauri"
},
"dependencies": {
"@formkit/auto-animate": "^0.8.2",
"@radix-ui/react-accordion": "^1.2.0",
"@radix-ui/react-alert-dialog": "^1.1.1",
"@radix-ui/react-checkbox": "^1.1.1",
"@radix-ui/react-collapsible": "^1.1.0",
"@radix-ui/react-dialog": "^1.1.1",
"@radix-ui/react-label": "^2.1.0",
"@radix-ui/react-popover": "^1.1.1",
"@radix-ui/react-select": "^2.1.1",
"@radix-ui/react-dialog": "^1.1.2",
"@radix-ui/react-dropdown-menu": "^2.1.2",
"@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-tabs": "^1.1.0",
"@radix-ui/react-toggle": "^1.1.0",
"@radix-ui/react-toggle-group": "^1.1.0",
"@radix-ui/react-tooltip": "^1.1.2",
"@tauri-apps/api": "^1.6.0",
"autoprefixer": "^10.4.20",
"@tauri-apps/api": ">=2.0.0",
"@tauri-apps/plugin-shell": ">=2.0.0",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"cmdk": "1.0.0",
"lucide-react": "^0.436.0",
"next-themes": "^0.3.0",
"postcss": "^8.4.41",
"lucide-react": "^0.451.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"sonner": "^1.5.0",
"tailwind-merge": "^2.5.2",
"tailwindcss-animate": "^1.0.7",
"void-mod-manager": "."
"tailwind-merge": "^2.5.3",
"tailwindcss-animate": "^1.0.7"
},
"devDependencies": {
"@tauri-apps/cli": "^1",
"@tauri-apps/cli": ">=2.0.0",
"@types/react": "^18.2.15",
"@types/react-dom": "^18.2.7",
"@vitejs/plugin-react": "^4.2.1",
"tailwindcss": "^3.4.10",
"autoprefixer": "^10.4.20",
"postcss": "^8.4.47",
"tailwindcss": "^3.4.13",
"typescript": "^5.2.2",
"vite": "^5.3.1"
}
Expand Down
Loading

0 comments on commit 5dbf8b9

Please sign in to comment.