diff --git a/CHANGELOG.md b/CHANGELOG.md index 932dc3c..88740f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,5 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [Unreleased] +## [1.0.0.1] - 2024-07-30 +- Fixed an issue for saving the `hudColor.xml` on macs for [#4](https://github.com/Peppie84/FS22_HudColor/issues/4) + + ## [1.0.0.0] - 2024-07-10 - Initial release (https://www.farming-simulator.com/mod.php?mod_id=295129) diff --git a/FS22_HudColor/modDesc.xml b/FS22_HudColor/modDesc.xml index 9bebae3..9e8e862 100644 --- a/FS22_HudColor/modDesc.xml +++ b/FS22_HudColor/modDesc.xml @@ -1,7 +1,7 @@ Peppie84 - 1.0.0.0 + 1.0.0.1 <en>Hud Color</en> <de>Hud Einfärben</de> @@ -16,6 +16,9 @@ With this mod you can change the color of the players-hud. There are a total of - gray - green +Changelog v1.0.0.1 +- Fix for saving the HudColor settings on mac + For more information, help, and reporting issues please visit <a href='https://github.com/Peppie84/FS22_HudColor'>GitHub</a>. ]]></en> <de><![CDATA[ @@ -27,6 +30,9 @@ Mit dieser Mod kann das Spieler-Hud in eine andere Farbe gefärbt werden. Zur Au - grau - grün +Changelog v1.0.0.1 +- Fix für das Speichern der HudColor-Settings auf Macs + Weitere Informationen, Hilfe und Probleme melden findest Du unter <a href='https://github.com/Peppie84/FS22_HudColor'>GitHub</a>. ]]></de> </description> diff --git a/FS22_HudColor/src/hudcolorgui.lua b/FS22_HudColor/src/hudcolorgui.lua index 5ba9b58..44d3736 100644 --- a/FS22_HudColor/src/hudcolorgui.lua +++ b/FS22_HudColor/src/hudcolorgui.lua @@ -10,7 +10,7 @@ -- HudColorGui = { MOD_DIRECTORY = g_currentModDirectory, - MOD_SETTINGS_DIRECTORY = g_currentModSettingsDirectory .. '../', + MOD_SETTINGS_DIRECTORY = getUserProfileAppPath() .. 'modSettings/', MOD_SETTINGS_FILENAME = 'hudcolor.xml', MOD_SETTINGS_XML_ROOT_NODE = 'settings', CURRENT_MOD = g_currentModName or 'unknown', diff --git a/README.md b/README.md index cb29caa..8a88990 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ <div align="center"> [![FarmingSimulator-22](https://img.shields.io/badge/FarmingSimulator-22-blue?style=flat-square)](https://www.farming-simulator.com/) -[![Modhub Version](https://img.shields.io/badge/Modhub-v1.0.0.0-green?style=flat-square)](https://www.farming-simulator.com/mod.php?mod_id=295129) +[![Modhub Version](https://img.shields.io/badge/Modhub-v1.0.0.1-green?style=flat-square)](https://www.farming-simulator.com/mod.php?mod_id=295129) [![GitHub issues](https://img.shields.io/github/issues/Peppie84/FS22_HudColor?style=flat-square)](https://github.com/Peppie84/FS22_HudColor/issues) [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue?style=flat-square)](https://www.gnu.org/licenses/gpl-3.0) [![Last commit](https://img.shields.io/github/last-commit/Peppie84/FS22_HudColor?style=flat-square&color=important)](https://github.com/Peppie84/FS22_HudColor/commits/development)