Skip to content

Commit

Permalink
Version 0.2.1: small changes to check for autoupdate
Browse files Browse the repository at this point in the history
  • Loading branch information
sudoker0 committed Mar 19, 2023
1 parent 01f9eb8 commit 314be2a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
1 change: 0 additions & 1 deletion src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ fn write_tuxedo_config(prev_info: Info<'_>, info: Info<'_>) -> bool {

let full_path = ROOT_PATH.to_owned() + i.0;

println!("{}: {}", i.0, i.1);
match write_file(full_path, i.1.to_string()) {
Ok(_) => {
success = true
Expand Down
4 changes: 2 additions & 2 deletions src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
},
"package": {
"productName": "TuxedoBacklightController",
"version": "0.2.0"
"version": "0.2.1"
},
"tauri": {
"allowlist": {
"all": false
},
"bundle": {
"active": true,
"category": "DeveloperTool",
"category": "Utility",
"copyright": "",
"deb": {
"depends": []
Expand Down
3 changes: 0 additions & 3 deletions src/main.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// TODO: Fix bug: dialog

import { invoke } from "@tauri-apps/api/tauri";

type Info = {
Expand Down Expand Up @@ -603,7 +601,6 @@ window.addEventListener("DOMContentLoaded", async () => {
uiRefresh()
await initValue()

//! ckmJSCode will be set here, somewhere
enableBl?.addEventListener("change", changeEnableBl)
blMode?.addEventListener("change", changeBlMode)
brightness?.addEventListener("change", changeBrightness)
Expand Down

0 comments on commit 314be2a

Please sign in to comment.