Skip to content

Commit ef735a1

Browse files
committed
clean up for background release
1 parent 6b4334d commit ef735a1

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "nexus-config-backup"
3-
version = "0.1.1"
3+
version = "0.1.2"
44
edition = "2021"
55

66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ unsafe extern "C" fn load(api: *mut AddonAPI) {
4747

4848

4949
(api.add_simple_shortcut)(convert_string(SHORTCUT_ID), addon_shortcut);
50-
(api.register_render)(ERenderType::OptionsRender, render_options);
50+
// (api.register_render)(ERenderType::OptionsRender, render_options);
5151
}
5252

5353
pub fn convert_string(s: &str) -> *const c_char {
@@ -56,7 +56,7 @@ pub fn convert_string(s: &str) -> *const c_char {
5656
}
5757

5858
pub unsafe fn run_backup() -> bool {
59-
let handler = thread::spawn(|| {
59+
let _ = thread::spawn(|| {
6060
let dir = CStr::from_ptr((API.assume_init().get_addon_directory)(convert_string("")))
6161
.to_str()
6262
.unwrap()
@@ -161,7 +161,7 @@ pub extern "C" fn GetAddonDef() -> *mut AddonDefinition {
161161
version: AddonVersion {
162162
major: 0,
163163
minor: 1,
164-
build: 1,
164+
build: 2,
165165
revision: 0,
166166
},
167167
author: s!("Zyian").0 as _,

0 commit comments

Comments
 (0)