icza / bwhf

StarCraft BroodWar Hacker Finder, anti-hack, replay analyzer-organizer and utility tool
8 stars 2 forks source link

Saving settings in OS X #65

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run bwhf using terminal
2. change setting for sc location replay files ect.
3. If i quit the app. And re-open, non of the setting will be saved.

What is the expected output? What do you see instead?
Is there a way to save in termimal, physical files or through the app?

What version of the product are you using? On what operating system?
OSX 1.0

Please provide any additional information below.

Original issue reported on code.google.com by esantos...@gmail.com on 6 Jan 2010 at 5:23

GoogleCodeExporter commented 9 years ago
BWHF Agent saves the settings in the "settings.properties" file. Do you have 
such file 
in the BWHF Agent's folder? Does the user have write permission in the BWHF 
Agent 
folder?

Original comment by icz...@gmail.com on 6 Jan 2010 at 6:34

GoogleCodeExporter commented 9 years ago
i just checked. no setting file

Original comment by esantos...@gmail.com on 6 Jan 2010 at 7:59

GoogleCodeExporter commented 9 years ago
The the problem is probably that the user you run the Agent with has no write 
permission inside the BWHF Agent folder.

Give write permission in the BWHF Agent folder (and all to its subfolders) on 
every 
files.

Original comment by icz...@gmail.com on 6 Jan 2010 at 8:08

GoogleCodeExporter commented 9 years ago
Yes the BWHF folder and sub folders have write permissions.

Original comment by esantos...@gmail.com on 7 Jan 2010 at 4:50

GoogleCodeExporter commented 9 years ago
How do you start it? With the "BWHFAgent.sh" script?

Either way, open a console, and navigate to the Agent's folder first before you 
start 
it.

The Agent saves the settings automatically on exit (if the Agent is closed 
properly).

Original comment by icz...@gmail.com on 7 Jan 2010 at 6:03

GoogleCodeExporter commented 9 years ago
Yes i use the script and i do navigate to the folder(it wont start if you dont 
go to the folder)

I might not be closing it properly. I usually just close the app via quit and 
then type exit on terminal. Is there a 
save command on terminal maybe? I cant seem to find a save on the app itself. 

Thanks so much for helping.

Original comment by esantos...@gmail.com on 7 Jan 2010 at 6:37

GoogleCodeExporter commented 9 years ago
There is no manual save. It autosaves properties when you close it properly.

Set all your properties then click on the window closing icon ("X"), or press 
ALT+F4 (I 
don't know if that works in OS-X). Once it saved your properties, it will be 
loaded on 
the next startup.

Original comment by icz...@gmail.com on 7 Jan 2010 at 6:46

GoogleCodeExporter commented 9 years ago
Closing with the X icon did it. Ive always just did file quit method. 

Thank you.

Original comment by esantos...@gmail.com on 7 Jan 2010 at 7:17

GoogleCodeExporter commented 9 years ago

Original comment by icz...@gmail.com on 7 Jan 2010 at 7:22