x89 / Tea

Tea reminder
Other
19 stars 3 forks source link

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

Open x89 opened 9 years ago

moopie commented 9 years ago

we need to design the gui perfectly

i suggest something like this:

6a0120a85dcdae970b0128776fec64970c-pi

x89 commented 9 years ago

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

x89 commented 9 years ago

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.

bogger33 commented 9 years ago

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

ghost commented 9 years ago

couldnt you always just use cygwin?

x89 commented 9 years ago

One could - but who would want to?!

ghost commented 9 years ago

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

moopie commented 9 years ago

Well you can always develop it in wine

anlutro commented 9 years ago

How is this not resolved yet? Awful project management.

x89 commented 9 years ago

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

Get on it.

anlutro commented 9 years ago

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.

x89 commented 9 years ago

of*

anlutro commented 9 years ago

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.

x89 commented 9 years ago

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

anlutro commented 9 years ago

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.

x89 commented 9 years ago

πŸ™

FredG71 commented 9 years ago

rofl.

zQueal commented 8 years ago

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
}
x89 commented 8 years ago

That as well!

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