Skip to content
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

Need a reset button #757

Open
Avatar-Lion opened this issue Sep 30, 2024 · 11 comments
Open

Need a reset button #757

Avatar-Lion opened this issue Sep 30, 2024 · 11 comments

Comments

@Avatar-Lion
Copy link

Please make a button to reset all settings. In the old version of HFS it was enough to delete .ini file in the program folder, but in the new version there are no additional files. Now the admin panel does not open for me, I did something and now the browser says "forbidden" when trying to open the address http://localhost/~/admin/

I would also like to remove this console window that appears when starting HFS.

@rejetto
Copy link
Owner

rejetto commented Sep 30, 2024

what was the ini file is now another file called "config.yaml"
just delete that

@Avatar-Lion
Copy link
Author

Where is this file located? I only see hfs.exe and a folder "plugins".

@rejetto
Copy link
Owner

rejetto commented Sep 30, 2024

when you run hfs.exe the file should be in the same folder.
anyway, when you run HFS, one of the first lines you see in the console is "cwd", and that is where it's saving files.
this is the documentation about it https://github.com/rejetto/hfs?tab=readme-ov-file#configuration

@Avatar-Lion
Copy link
Author

Yes, thank you very much, I found directory .hfs in the user profile. I deleted it and everything became fine.

@rejetto
Copy link
Owner

rejetto commented Oct 1, 2024

what version are you using?

@Avatar-Lion
Copy link
Author

0.54.0-alpha4

@rejetto
Copy link
Owner

rejetto commented Oct 1, 2024

are you running hfs.exe from "program files" folder ?
because you seem to be having the same problem as this other user #758 (comment)

@Avatar-Lion
Copy link
Author

Yes, in C:\Program Files. My old PC had WinXP and there HFS was also located in C:\Program Files. However, now I have a new PC with Win10.

@rejetto
Copy link
Owner

rejetto commented Oct 2, 2024

but in my experiments, if i try to run HFS (previous version) in "program files", it fails to save to same folder
image

don't you have the same problem?
that's why i'm not saving to program files.

anyway, for next release i'm considering a different strategy: test if i can write, and if i can't i'll switch to users folder.

@Avatar-Lion
Copy link
Author

When I launch HFS, its window looks like this:
image

@rejetto
Copy link
Owner

rejetto commented Oct 2, 2024

in this screenshot you are running the new version, and it's NOT trying to save to "program files", so of course you don't have errors.
in my screenshot i'm showing previous version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants