Skip to content

Commit

Permalink
Reorganize files a bit; Add READMEs to all crate
Browse files Browse the repository at this point in the history
  • Loading branch information
funlennysub committed Oct 16, 2022
1 parent fce10a5 commit 807efe8
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 6 deletions.
2 changes: 2 additions & 0 deletions bepinex_helpers/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# bepinex_helpers
Different structs and function meant to be used by other tools in a repo
9 changes: 9 additions & 0 deletions bepinex_installer/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# BepInEx Installer

## Features
| Name | Description | Status |
| ------------------------ | ----------------------- | :----: |
| Stable Releases | Install stable releases ||
| BE Releases | Install BE releases ||
| Better UI | Make UI look pretty | 👷‍♀️ |
| Support other game types | Support for .NET games ||
4 changes: 1 addition & 3 deletions bepinex_installer/src/installer.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
use std::time::Duration;

use bepinex_helpers::game::{Game, GameType};
use bepinex_sources::models::bleeding_edge::bepinex::{
AssetDownloader, BepInEx, BepInExRelease, ReleaseFlavor,
};
use bepinex_sources::bepinex::{AssetDownloader, BepInEx, BepInExRelease, ReleaseFlavor};
use eframe::{
egui::{
Button, CentralPanel, ComboBox, Direction, FontFamily::Proportional, FontId, RichText,
Expand Down
2 changes: 1 addition & 1 deletion bepinex_installer/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ pub mod installer;

use bepinex_helpers::game::get_unity_games;
use bepinex_sources::{
bepinex::{BepInEx, BepInExRelease},
github::GitHubApi,
models::bleeding_edge::bepinex::{BepInEx, BepInExRelease},
};
use eframe::{egui, run_native, NativeOptions};
use lazy_static::lazy_static;
Expand Down
8 changes: 8 additions & 0 deletions bepinex_sources/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# bepinex_sources
Crate for working with different BepInEx sources such as [Bleeding edge builds](https://builds.bepinex.dev/projects/bepinex_be) and [Stable builds](https://github.com/BepInEx/BepInEx/releases)

## Features
| Source | Access all releases | Download specific release | Filter out releases | SourceRelease type into general type |
| ------------------ | :-----------------: | ------------------------- | ------------------- | ------------------------------------ |
| github.com |||||
| builds.bepinex.dev |||||
2 changes: 1 addition & 1 deletion bepinex_sources/examples/basic.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use bepinex_sources::{github::GitHubApi, models::bleeding_edge::bepinex::BepInExRelease};
use bepinex_sources::{bepinex::BepInExRelease, github::GitHubApi};
use semver::Version;

fn main() -> anyhow::Result<()> {
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions bepinex_sources/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
pub mod bepinex;
pub mod github;
pub mod models;
1 change: 0 additions & 1 deletion bepinex_sources/src/models/bleeding_edge/mod.rs
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
pub mod bepinex;

0 comments on commit 807efe8

Please sign in to comment.