Skip to content

Commit 9596d35

Browse files
committed
fix windows build
1 parent fbb6937 commit 9596d35

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

.cargo/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ LMSENSORS_INCLUDE_DIR = { value = "build/libsensors/include", relative = true }
44
LMSENSORS_LIB_DIR = { value = "build/libsensors/lib", relative = true }
55
RUST_LOG = "warn,fan_control=info,ui=info,data=info,hardware=info"
66
RUST_BACKTRACE = "full"
7-
FAN_CONTROL_FORMAT = "flatpak"
7+
FAN_CONTROL_FORMAT = "undefined"
88
FAN_CONTROL_VERSION = "undefined"
99
FAN_CONTROL_COMMIT = "undefined"
1010

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ keywords.workspace = true
2424

2525
[package.metadata.packager]
2626
version = "2025.3.0"
27-
before-each-package-command = "cargo build --release"
27+
before-each-package-command = "just build-release"
2828
identifier = "io.github.wiiznokes.fan-control"
2929
icons = ["res/windows/app_icon.ico"]
3030
resources = ["res/lhmbuild"]

DEV.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,10 @@
33
```
44
clear && cargo test --package hardware test_time -- --nocapture
55
```
6+
7+
change before release
8+
9+
- version in [justfile](./justfile)
10+
- version in [metainfo](./res/linux/metainfo.xml)
11+
- version in [Cargo.toml](./Cargo.toml)
12+
- release in [CHANGELOG.md](./CHANGELOG.md)

justfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
set windows-powershell := true
22

3-
export FAN_CONTROL_VERSION := '2024.11'
3+
export FAN_CONTROL_VERSION := "2025.3.0"
44
export FAN_CONTROL_COMMIT := `git rev-parse --short HEAD`
55

66
rootdir := ''
7-
prefix := x"~/.local"
7+
prefix := ''
88
debug := '0'
99

1010
name := 'fan-control'

0 commit comments

Comments
 (0)