Geobern / winezeug

Automatically exported from code.google.com/p/winezeug
0 stars 0 forks source link

Zenity/Kdialog info saying "Winetricks has finished" #188

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Consider you have zenity or kdialog installed
2. Run winetricks not from terminal (e.g. from "Run command" dialog)
3. Choose a package from the list that shows no GUI while installing (e. g. 
tahoma)
4. You cannot realize, when it is finished

What is the expected output? What do you see instead?
I would really like a information window at the end saying something like 
"Winetricks has finished."

Please provide any additional information below.
I need this, beacuse I call winetricks from my application 
http://wibom.sourceforge.net/

Original issue reported on code.google.com by churchy...@gmail.com on 7 Oct 2010 at 1:21

GoogleCodeExporter commented 8 years ago
You could easily do this in your script, e.g.,:
winetricks foo || ( zenity winetricks failed ; exit ) && zenity winetricks 
finished

though I suppose we could change the final echo to a warn...

Original comment by austinenglish@gmail.com on 8 Oct 2010 at 1:02

GoogleCodeExporter commented 8 years ago
Why not put up the dialog yourself from inside wibom when winetricks returns?

Original comment by daniel.r...@gmail.com on 8 Oct 2010 at 1:19

GoogleCodeExporter commented 8 years ago
I would like to, problem is it won't work that easily. I call winetricks 
without an argument, to let user himself to choos a package from a zenity 
dialog. I can then show a message, when winetricks ends, but I cannot 
recognize, if it finished the installation, or user just closed / canceled the 
zenity window. Maybe if there is a differend exitcode when closing or canceling 
(e.g. 1), would be great.

Original comment by churchy...@gmail.com on 8 Oct 2010 at 10:24

GoogleCodeExporter commented 8 years ago
Exiting with 1 would break a lot of other scripts.

Just grep for 'winetricks done', that's the last thing echo'ed.

Original comment by austinenglish@gmail.com on 11 Oct 2010 at 12:18

GoogleCodeExporter commented 8 years ago
Seems easy. Thank you :)

Original comment by churchy...@gmail.com on 11 Oct 2010 at 8:43

GoogleCodeExporter commented 8 years ago
Marking wontfix.

Original comment by austinenglish@gmail.com on 21 Oct 2010 at 7:05