This commit is contained in:
Nikita Podvirnyi 2024-06-17 15:01:31 +02:00
parent 9b38de68be
commit 1e94edd76e
No known key found for this signature in database
GPG key ID: 859D416E5142AFF3
8 changed files with 6 additions and 39 deletions

8
.idea/.gitignore vendored
View file

@ -1,8 +0,0 @@
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

View file

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="EMPTY_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
<excludeFolder url="file://$MODULE_DIR$/target" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View file

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/anime-launcher-sdk.iml" filepath="$PROJECT_DIR$/.idea/anime-launcher-sdk.iml" />
</modules>
</component>
</project>

View file

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

View file

@ -1,6 +1,6 @@
[package] [package]
name = "anime-launcher-sdk" name = "anime-launcher-sdk"
version = "1.13.4" version = "1.14.0"
authors = ["Nikita Podvirnyi <krypt0nn@vk.com>"] authors = ["Nikita Podvirnyi <krypt0nn@vk.com>"]
license = "GPL-3.0" license = "GPL-3.0"
readme = "README.md" readme = "README.md"
@ -9,7 +9,7 @@ edition = "2021"
[dependencies.anime-game-core] [dependencies.anime-game-core]
git = "https://github.com/an-anime-team/anime-game-core" git = "https://github.com/an-anime-team/anime-game-core"
tag = "1.18.4" tag = "1.19.0"
features = ["all"] features = ["all"]
# path = "../anime-game-core" # ! for dev purposes only # path = "../anime-game-core" # ! for dev purposes only

View file

@ -1,8 +1,8 @@
let let
nixpkgs = builtins.fetchGit { nixpkgs = builtins.fetchGit {
name = "nixos-23.11"; name = "nixos-24.05";
url = "https://github.com/nixos/nixpkgs"; url = "https://github.com/nixos/nixpkgs";
ref = "refs/heads/nixos-23.11"; ref = "refs/heads/nixos-24.05";
}; };
nixpkgs-unstable = builtins.fetchGit { nixpkgs-unstable = builtins.fetchGit {

View file

@ -42,7 +42,7 @@ impl ConfigExt for Config {
#[inline] #[inline]
fn get() -> anyhow::Result<Self::Schema> { fn get() -> anyhow::Result<Self::Schema> {
unsafe { unsafe {
match &CONFIG { match CONFIG.as_ref() {
Some(config) => Ok(config.clone()), Some(config) => Ok(config.clone()),
None => Self::get_raw() None => Self::get_raw()
} }

View file

@ -42,7 +42,7 @@ impl ConfigExt for Config {
#[inline] #[inline]
fn get() -> anyhow::Result<Self::Schema> { fn get() -> anyhow::Result<Self::Schema> {
unsafe { unsafe {
match &CONFIG { match CONFIG.as_ref() {
Some(config) => Ok(config.clone()), Some(config) => Ok(config.clone()),
None => Self::get_raw() None => Self::get_raw()
} }