-
Notifications
You must be signed in to change notification settings - Fork 5
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
Change install location #6
Comments
For the file selection I'm still developing it, it should be complete by tomorrow, I'm adding a window that show the temperature, in that window you can choose if apply or not the temperature |
For the path, I didn't know that, I'm changing it |
I have also in mind the creation of an application |
BTW I'm having a lot of trouble uploading the modified files. How do you do it? |
What do you mean? Images or terminal dumps would be appreciated. BTW, if you create a file directly using GitHub (e.g., Create new file button), it is better to commit it directly to the master branch instead of creating a new one (switch is at the bottom) for your project's size. Your Git history graph looks really weird... Where is the problem? Why are you continuously merging master branch? Based on the current repository state, |
I have a lot of problem uploading files: I think I'm doing something wrong. |
Okay - the swiftest advice. Cut and paste your local afc-gui repository (containing folder should have the same name) somewhere else. Clone you repository again and go manually through changes not commited yet on broken repository and apply them to the fresh one. Commit your changes.
Did not understand, sorry. 😢 BTW, the problem looks like to be connected with the fact that you are making changes based on commits rather than based on branches (branch tip, branch HEAD). You never want to do that except when creating a branch but that is another story. So for next time, try to use
Do not ever work on changes when your output starts with something like this:
|
I had done the path for afc-gui.py, then I had to do another thing, came back and, for error, rewrote the same thing for the folder, where should I place that folder |
I think I understood how the git upload work, I was missing steps, thanks. |
If I understand it correctly, I have already written it - |
Yes, and it should be:
|
Oh, I thought you changed it, my bad, I'm changing it |
Nope, it was directed to you. 😄 Please, read the original post of this issue again to make sure you are not missing anything. |
Yeah, doing something like you have done for the models would be good, I only need to figure out how to do that; I'll try in a few days, this week I'll be busy with school. |
Yeah, do not rush with afc-gui. You have no deadlines and no commitments. You just want to learn something new and you should enjoy it! Work on it when you want. 😊 I think that this issue has reached the point that its major part has been resolved. You can close it or leave it open if you want to remember the presets stuff. Good luck with studies! 🧑🎓 |
I know, I just found something interesting to do during quarantine, and I'm pretty happy with the results. I'll leave this open. |
BTW, if you modify/create/delete files using GitHub, then once you are on the |
Thanks, I'll try to modify on my local saves, then upload. I thinks it is easier |
Yeah, you can do it that way for now. But once you are working with someone on the same branch, you can imagine their changes as being "done on GitHub"... So you eventually will need to pull their changes and they will need to pull yours. |
I know that |
I am really happy that you have adopted GitPack in this project! 😃
But your local installation target directory for afc-gui.py does not seem to be correct. You probably would not want to have all binaries of locally (per user) installed programs in your home directory which is also visible from a file manager. Moreover, home directory is not in the
PATH
environment variable, so you cannot run your program just by typing its file name. So typingafc-gui.py
in a terminal won't work on most, if not all, Linux setups. You would need to use/home/<user>/afc-gui.py
command to actually run it.So I am suggesting to change it from
"$HOME"
to"$HOME/.local/bin"
, which is in thePATH
at least on Ubuntu-based systems (after reboot if ~/.local/bin is freshly created). Feel free to get inspired from afc-scout, which may be similar in many GitPack-related cases.The temperature presets is a good idea for a GUI as such but its current implementation is not so good (note that it affect yours GitPack map file). I would be for something similar to asus-fan-control's models database (
<preset-name><separator><temperatures>
per line), which could be placed somewhere in ~/.local/share. Once user wants to choose a new preset to apply, it would read all presets from one file and it could present all presets in a better way than wanting the user to find an .afc file manually. Current presets are cumbersome in GitPack (and any package manager) matter. Just my opinion... 😄The text was updated successfully, but these errors were encountered: