Skip to content

Commit 27e65cb

Browse files
committed
Version: 0.56.1-alpha.0
1 parent 00968f7 commit 27e65cb

4 files changed

Lines changed: 17 additions & 11 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## [0.56.1-alpha.0] - 2025-11-30
2+
3+
### Fixed
4+
- **Windows**: Fixed "Failed to write device profiles file" error on startup by storing `devices.json` in the user's AppData directory instead of the application installation directory.
5+
16
## [0.56.0-alpha.0] - 2025-11-30
27

38
### Started

Cargo.lock

Lines changed: 9 additions & 9 deletions
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
@@ -13,7 +13,7 @@ members = [
1313
resolver = "2"
1414

1515
[workspace.package]
16-
version = "0.56.0-alpha.0"
16+
version = "0.56.1-alpha.0"
1717
edition = "2021"
1818
license = "MIT OR Apache-2.0"
1919
authors = ["GCodeKit Contributors"]

src/main.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,8 @@ fn main() -> anyhow::Result<()> {
343343
));
344344

345345
// Initialize Device Manager
346-
let device_manager = std::sync::Arc::new(DeviceManager::new(PathBuf::from("devices.json")));
346+
let config_dir = SettingsManager::config_directory().unwrap_or_else(|_| PathBuf::from("."));
347+
let device_manager = std::sync::Arc::new(DeviceManager::new(config_dir.join("devices.json")));
347348
if let Err(e) = device_manager.load() {
348349
warn!("Failed to load device profiles: {}", e);
349350
}

0 commit comments

Comments
 (0)