Tea icon indicating copy to clipboard operation
Tea copied to clipboard

We need this to work on Windows - so a GUI would be perfect, if not then a simple .bat would suffice for now

Open x89 opened this issue 10 years ago β€’ 19 comments

x89 avatar May 09 '15 10:05 x89

we need to design the gui perfectly

i suggest something like this:

6a0120a85dcdae970b0128776fec64970c-pi

moopie avatar May 09 '15 10:05 moopie

@moopsie... Also @rgarnier or whatever his name is.

x89 avatar May 09 '15 10:05 x89

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.

x89 avatar May 10 '15 14:05 x89

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

bogger33 avatar May 10 '15 21:05 bogger33

couldnt you always just use cygwin?

ghost avatar May 11 '15 08:05 ghost

One could - but who would want to?!

x89 avatar May 11 '15 11:05 x89

i agree... nobody wants to, since it requires windows to run

ghost avatar May 14 '15 17:05 ghost

Well you can always develop it in wine

moopie avatar May 15 '15 19:05 moopie

How is this not resolved yet? Awful project management.

anlutro avatar Sep 09 '15 14:09 anlutro

I wonder why you bring that up after a day working with QT!

Get on it.

x89 avatar Sep 09 '15 14:09 x89

I wasn't working with qt, I'm just a user if qt applications!

On Wed, 9 Sep 2015 16:56 x89 [email protected] 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.

anlutro avatar Sep 09 '15 15:09 anlutro

of*

x89 avatar Sep 09 '15 15:09 x89

Yes yes, I'm on my phone on the bus so cannot type properly

On Wed, 9 Sep 2015 17:36 x89 [email protected] wrote:

of*

β€” Reply to this email directly or view it on GitHub https://github.com/x89/Tea/issues/2#issuecomment-138949523.

anlutro avatar Sep 09 '15 15:09 anlutro

Enjoy your trip! I'm in the pub 🍺🍻

x89 avatar Sep 09 '15 15:09 x89

Public dota2 game?

On Wed, 9 Sep 2015 17:42 x89 [email protected] 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.

anlutro avatar Sep 09 '15 15:09 anlutro

πŸ™

x89 avatar Sep 09 '15 15:09 x89

rofl.

FredG71 avatar Sep 09 '15 17:09 FredG71

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
}

zQueal avatar Dec 01 '15 07:12 zQueal

That as well!

Though with that said it would be a good entry to GUI writing for one who hadn't done so previously.

x89 avatar Dec 01 '15 08:12 x89