Open x89 opened 9 years ago
@moopsie... Also @rgarnier or whatever his name is.
Calling @Garner071.
I am not good with Windows. I don't really do Windows code. I'm sure I could whip up a .bat script and that'd be all good and well but that's probably not what Windows users are really looking for, I mean let's be realistic here. I'm asking a lot but I'd like somebody to put aside 1-2 hours to make a basic GUI. Even just a "Start tea countdown" button. Just that! Then see how things go. I'll unlikely be the one doing this part.
I don't know much about windows programming, but if we port this to C or C++, I would definitely be willing to develop a GTK+ GUI
couldnt you always just use cygwin?
One could - but who would want to?!
i agree... nobody wants to, since it requires windows to run
Well you can always develop it in wine
How is this not resolved yet? Awful project management.
I wonder why you bring that up after a day working with QT!
Get on it.
I wasn't working with qt, I'm just a user if qt applications!
On Wed, 9 Sep 2015 16:56 x89 notifications@github.com wrote:
I wonder why you bring that up after a day working with QT!
Get on it.
β Reply to this email directly or view it on GitHub https://github.com/x89/Tea/issues/2#issuecomment-138937549.
of*
Yes yes, I'm on my phone on the bus so cannot type properly
On Wed, 9 Sep 2015 17:36 x89 notifications@github.com wrote:
of*
β Reply to this email directly or view it on GitHub https://github.com/x89/Tea/issues/2#issuecomment-138949523.
Enjoy your trip! I'm in the pub πΊπ»
Public dota2 game?
On Wed, 9 Sep 2015 17:42 x89 notifications@github.com wrote:
Enjoy your trip! I'm in the pub πΊπ»
β Reply to this email directly or view it on GitHub https://github.com/x89/Tea/issues/2#issuecomment-138951033.
π
rofl.
Not really sure why any of this would need a GUI or a separate batch script. It's written in bash and is entirely compatible with bash for Windows.
What's easy to do is to install bash and create C:\Utilities
and add it to your path. Once you've done that, plop tea.sh
and tea.mp3
in C:\Utilities
with a batch file reading;
@ECHO OFF
bash C:\Utilities\tea.sh %*
The bash script assumes that you have mpv, mplayer or vlc installed and added to your path. Assuming you meet those requirements this should function exactly the same as on a Linux box -- or at the very least require only a small amount of tweaking; especially here:
commandpicker() {
if command -v mpv >/dev/null 2>&1; then
player="mpv"
elif command -v mplayer >/dev/null 2>&1; then
player="mplayer -nogui"
elif command -v vlc >/dev/null 2>&1; then
player="vlc -I dummy --play-and-exit"
else
echo "We couldn't find a way to output sound when your tea is ready!"
fi
}
That as well!
Though with that said it would be a good entry to GUI writing for one who hadn't done so previously.
we need to design the gui perfectly
i suggest something like this: