Skip to content

Commit

Permalink
Fix windows compile + some version fix (#137)
Browse files Browse the repository at this point in the history
* Update Cargo.lock

* update lhm, some windows fixes

* fix windows build path

* change version

* Update Cargo.toml
  • Loading branch information
wiiznokes authored Jun 19, 2024
1 parent d35e9d1 commit ce0f9c7
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 34 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ obj/
/app/
net7.0/
LibreHardwareMonitorWrapper.sln.DotSettings.user
/res/lhmbuild

# Lmsensors
build/
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [Unreleased]

## [24.06] - 2024-06-19
## [2024.6] - 2024-06-20

### Added

- german translation
- italian translation
- new versioning
- update lhm

### Fixed

Expand Down
48 changes: 24 additions & 24 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,12 @@ repository.workspace = true
keywords.workspace = true

[package.metadata.packager]
version = "24.06"
# workarround for making cargo packager happy
version = "2024.6.0"
before-each-package-command = "cargo build --release"
identifier = "io.github.wiiznokes.fan-control"
icons = ["res/windows/app_icon.ico"]
resources = ["res/icons", "res/windows/lhmbuild"]
resources = ["res/icons", "res/lhmbuild"]
category = "Utility"

[package.metadata.packager.windows]
Expand Down
2 changes: 1 addition & 1 deletion DEV.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Making a new release

- get the version: `date +"%y.%m"`
- get the version: `date +"%Y.%m"`
- new release in the [CHANGELOG](./CHANGELOG.md)
- update release section of [metadata file](./res/linux/metainfo.xml)
- change the version in [VERSION](./VERSION)
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
24.06
2024.6
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
<OutputPath>.\..\..\res\windows\lhmbuild</OutputPath>
<OutputPath>.\..\..\res\lhmbuild</OutputPath>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="LibreHardwareMonitorLib" Version="0.9.3"/>
<PackageReference Include="LibreHardwareMonitorLib" Version="0.9.4-pre295" />
<PackageReference Include="Microsoft.Win32.SystemEvents" Version="8.0.0" />
</ItemGroup>

Expand Down
1 change: 0 additions & 1 deletion hardware/src/windows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,6 @@ mod test {
info!("");

bridge.update().unwrap();
std::thread::sleep(WindowsBridge::TIME_TO_UPDATE);

for h in &bridge.hardware().controls.clone() {
bench(
Expand Down
4 changes: 2 additions & 2 deletions res/linux/metainfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@
</screenshots>

<releases>
<release version="24.06" date="2024-06-19">
<release version="2024.6" date="2024-06-20">
<url type="details">
https://github.com/wiiznokes/fan-control/blob/master/CHANGELOG.md#2406---2024-06-19</url>
https://github.com/wiiznokes/fan-control/blob/master/CHANGELOG.md#202406---2024-06-20</url>
</release>
</releases>

Expand Down

0 comments on commit ce0f9c7

Please sign in to comment.