-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't work at all on mac #4
Comments
Hi @sjmills , thanks for your post. But please give me some more information.
Thanks |
I found an error in the log: 2024-07-11 08:19 Error: Could not save xml file 'settingsXML' to '/Users/tut/Library/Application Support/FarmingSimulator2022/modSettings/FS22_HudColor/../hudcolor.xml' Looks like you're trying to save the file in modSettings rather than in modSettings/FS22_HudColor. This is a Mac, but it shouldn't make any difference. I'm wondering if the lua file path code fails because it can't find FS22_HudColor, so it can't go back down the path to modSettings. I'd have the mod create that folder and put the file in there instead, or build the path differently, like: getUserProfileAppPath().."modSettings/hudcolor.xml"; |
Hi @sjmills thanks for your help. I've changed the base path to: MOD_SETTINGS_DIRECTORY = getUserProfileAppPath() .. 'modSettings/', Here is a generated dev-release with this fix. Can you confirm that the issue is fixed by that. |
That fixed it. Thanks for letting me confirm it. |
The text was updated successfully, but these errors were encountered: