-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[package] | ||
name = "autorun-gui" | ||
version = "0.1.0" | ||
authors = ["Vurv78 <[email protected]>"] | ||
edition = "2021" | ||
publish = false | ||
|
||
[dependencies] | ||
dioxus = { version = "0.1.7", features = ["desktop"] } | ||
tokio = { version = "1", features = ["full"] } | ||
|
||
atomic = "0.5.1" | ||
message-io = "0.14.3" | ||
|
||
log = "0.4.14" | ||
simplelog = "0.11.2" | ||
|
||
bincode = { version = "2.0.0-beta.0", features = ["derive"] } | ||
autorun-shared = { path = "../autorun-shared", features = ["gui"] } | ||
|
||
thiserror = "1.0.30" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/// Autorun-gui | ||
/// This is a gui to run alongside the ``gui`` version of autorun. | ||
/// It works by having a server (autorun) client (autorun-gui) connection as to not disrupt the main thread (gmod) | ||
/// This is a workaround for Dioxus and every other rust library that doesn't support running outside main thread, which would freeze gmod. | ||
|
||
/* | ||
mod logging; | ||
mod app; | ||
mod io; | ||
*/ | ||
|
||
// Start app in current thread | ||
pub fn main() { | ||
// logging::init(); | ||
|
||
// app::launch(); | ||
// App will launch io | ||
} |