-
Notifications
You must be signed in to change notification settings - Fork 208
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
How to prevent wine update to do a full install every time and even override (design) settings? #2559
Comments
Hello there 👋 Please respond as soon as possible if a Pi-Apps maintainer requests more information from you. Stale issues will be closed after a lengthy period of time with no response. |
Here is the history of our changes to the Wine app. https://github.com/Botspot/pi-apps/commits/master/apps/Wine%20(x64)
The wine version you get from apt is fairly useless as it is an ARM build of wine which can only run ARM EXE files. And those are rare - nearly all useful Windows programs do not have an ARM build.
Undoing these winetricks changes should not be necessary. If these winetricks commands are breaking things, we need to know so that can be fixed. Please explain in more detail what is happening |
Thanks for the reply and the info about the ARM exe only via debian for rpi4, I didn't know that. I wonder why a full reinstall is necessary in the first place instead of a simple update, esp. repeating winetricks installs. The annoying part are the registry changes in the install script. |
Interesting. About the registry: some of these changes are functional and others are aesthetic. I never imagined that somebody would not want these changes, but with more explanation from you I may be able to understand why and make changes. |
Thanks for the reply and the considerations. Well, I don't like the visual changes, I'm one of the "w2000 was the last good and best windows there was, including the look" guys... heck, win8/10 was the reason I went linux, why would I want wine to look like win10... :-) Even in (real) w7 I always disabled anything cleartype / font smoothing. I use dark mode, so that light/bright theme feels like eye cancer to my eyes. :-) To emphasize: I don't want the script to be changed to what I want. I'd just like it if the script would it not make so hard to set up and keep a different configuration. But as I said before: Once I have some time to figure out how to create a script to revert the registry changes, it's probably one click and done and I most likely stop being annoyed. :-) |
No, that is perfectly valid. I saw fit to try to change the default, but with that I never wanted to take away your ability to change it how you like, and to have it stay that way. I will change the |
Thanks for your understanding and efforts! Anyway, that would be a greatly appreciated change! |
pi@raspberrypi:~ $ grep '"LogPixels"=dword:00000078' ~/.wine -r It seems to be putting the changes in both places. |
Ah, ok. I was going from memory and maybe I even missed that in my initial deep dive. Maybe I even used it without knowing because system trumps user - and liked it... :-) |
I have made the changes. Now ironically, this causes wine to be reinstalled for everybody again, but that is just how the pi-apps script format works. Go check the changes I made here: 2c32783
|
Thank you for taking the time to talk to us. Only once we know there is a problem can anything be solved. Me personally, I appreciate the defaults we have set in the registry and the packages installed with winetricks. But of course that is true, because I was the one who wrote the script. I did not consider much possible ways to speed up reinstalls, and I never imagined that someone may not actually want the font size changes with smoothing. But your reasons make sense, and it was easy enough to make it more accommodating after first install. Feel free to reply here if you have more to say about Wine, otherwise feel free to open a new issue in the future if you spot another area in pi-apps that could be improved. |
just an fyi, winetricks does have a fast path and skip re-installing if a package is already detected as installed. however, the wine process has to startup from scratch and check if that package is installed each time which takes a bit. On ARM64 with |
Wow! Thank you very much! When I submitted this question (for which I chose the suggestion option because it's not really a bug, but I couldn't find "question" as an option, so i didn't intended it to be a suggestion), I didn't expect such a quick and understanding reply, and even less a essentially immediate fix for such an complex task (from the viewpoint of someone who doesn't know how to write code other than modify existing code using logic and try & error method). Having just powered on the rpi4 and let it do it's thing I can report and confirm that the re-install now didn't change my design settings and didn't take long enough to have re-installed all winetricks (the update ran automatically in the background, so I didn't have any cli to monitor what was happening), so I assume, that all works as intended. So, thank you very much for this great experience of an interaction with you, the pi-apps wizard! And thank you for the very very helpful pi-apps in the first place. They surely make apps work when they don't when installed via apt! |
You can check the output from installing or uninstalling any app by going to Pi-Apps Settings and launching the Log File viewer.
Yeah, apt can be a bit of a minefield at times. And so can google searches if you don't check when instructions were posted and already are familiar enough with linux to spot when a tutorial it too outdated to be used anymore. Pi-apps tries to be the successor to tutorials, though ironically to spread the word we have hundreds of tutorials. 🤣 https://pi-apps.io/tags/[install-app](https://pi-apps.io/tags/install-app/)/ Try to keep your eyes out for anyone out there who may not know about pi-apps. It's still a small project and in the larger space, not everybody knows about it yet. It is one thing for a project creator to advertise, but it is far more effective for hundreds of happy users to say "this worked for me, go try it too." |
Isn't pi-apps part of piOS or something? Otherwise I wouldn't know how it landed on my pi and I ever was made aware of it... :-) |
Nope. PiOS has never included Pi-Apps by default, though plenty of people think that it ought to be. |
Well, that's the thing, I never used the included sdcard. I installed TwisterOS on a different sdcard. Maybe they included it by default. Or I did in fact somewhere learned about pi-apps and installed it myself. It's been a few years...:-) |
Yes, twister os included pi-apps. That explains it. |
Ah, ok, then it's settled... :-) |
Cool ideas?
Every time pi-app updates wine - or the script was just updated - wine is getting installed as if it was a new install with all winetricks installs. That not only takes a long time, it's also very annoying because after the the script is done reinstalling wine all over again, I have to manually revert all the changes that the script does to the default settings to have it look like I set it up after the last update.
How do I prevent that from happening in the first place?
Is the only way to install wine manually via apt-get with all the winetricks installs that the script does?
I went the pi-app install at one point because before that I just installed wine via apt-get but it stopped working after some wine update. But I didn't really install all those winetricks installs that the script installs, so that could have been the reason it didn't work so well / stopped working at one point.
The text was updated successfully, but these errors were encountered: