Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
TOwInOK committed Apr 26, 2024
2 parents e4d9906 + 1d49140 commit 8a3bb7d
Show file tree
Hide file tree
Showing 5 changed files with 180 additions and 87 deletions.
124 changes: 123 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
async-watcher = "0.2.1"
log = { version = "0.4.21", features = ["serde"] }
md-5 = "0.10.6"
notify = { version = "6.1.1", features = ["serde"] }
Expand Down
6 changes: 3 additions & 3 deletions config.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[core]
provider = "purpur"
version = "1.20.4"
version = "1.20.1"
# build = "2160"
freeze = false
force_update = false
# freeze = false
# force_update = false

[plugins]
[plugins.simple-voice-chat]
Expand Down
5 changes: 1 addition & 4 deletions src/config/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pub mod core;
mod models;
pub mod plugins;

use crate::{downloader::hash::ChooseHash, errors::error::Result};
use crate::errors::error::Result;
use additions::Additions;
use core::Core;
use log::info;
Expand Down Expand Up @@ -39,7 +39,4 @@ impl Config {

Ok(config)
}
pub async fn get_core_link(self) -> Result<(String, ChooseHash, String)> {
self.core.get_link().await
}
}
Loading

0 comments on commit 8a3bb7d

Please sign in to comment.