forked from didirus/AstralRinth
Migrate to SQLite for Internal Launcher Data (#1300)
* initial migration * barebones profiles * Finish profiles * Add back file watcher * UI support progress * Finish most of cache * Fix options page * Fix forge, finish modrinth auth * Accounts, process cache * Run SQLX prepare * Finish * Run lint + actions * Fix version to be compat with windows * fix lint * actually fix lint * actually fix lint again
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
//! API for interacting with Theseus
|
||||
pub mod cache;
|
||||
pub mod handler;
|
||||
pub mod jre;
|
||||
pub mod logs;
|
||||
@@ -8,17 +9,16 @@ pub mod mr_auth;
|
||||
pub mod pack;
|
||||
pub mod process;
|
||||
pub mod profile;
|
||||
pub mod safety;
|
||||
pub mod settings;
|
||||
pub mod tags;
|
||||
|
||||
pub mod data {
|
||||
pub use crate::state::{
|
||||
Credentials, DirectoryInfo, Hooks, JavaSettings, LinkedData,
|
||||
Credentials, Dependency, DirectoryInfo, Hooks, JavaVersion, LinkedData,
|
||||
MemorySettings, ModLoader, ModrinthCredentials,
|
||||
ModrinthCredentialsResult, ModrinthProject, ModrinthTeamMember,
|
||||
ModrinthUser, ModrinthVersion, ProfileMetadata, ProjectMetadata,
|
||||
Settings, Theme, WindowSize,
|
||||
ModrinthCredentialsResult, Organization, Process, ProfileFile, Project,
|
||||
ProjectType, SearchResult, SearchResults, Settings, TeamMember, Theme,
|
||||
User, Version, WindowSize,
|
||||
};
|
||||
}
|
||||
|
||||
@@ -26,15 +26,10 @@ pub mod prelude {
|
||||
pub use crate::{
|
||||
data::*,
|
||||
event::CommandPayload,
|
||||
jre, metadata, minecraft_auth, pack, process,
|
||||
jre, metadata, minecraft_auth, mr_auth, pack, process,
|
||||
profile::{self, create, Profile},
|
||||
settings,
|
||||
state::JavaGlobals,
|
||||
state::{Dependency, ProfilePathId, ProjectPathId},
|
||||
util::{
|
||||
io::{canonicalize, IOError},
|
||||
jre::JavaVersion,
|
||||
},
|
||||
util::io::{canonicalize, IOError},
|
||||
State,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user