Skip to content
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

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 this issue May 9, 2015 · 19 comments

Comments

@x89
Copy link
Owner

x89 commented May 9, 2015

No description provided.

@moopie
Copy link

moopie commented May 9, 2015

we need to design the gui perfectly

i suggest something like this:

6a0120a85dcdae970b0128776fec64970c-pi

@x89
Copy link
Owner Author

x89 commented May 9, 2015 via email

@x89
Copy link
Owner Author

x89 commented May 10, 2015

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
Copy link

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
Copy link

ghost commented May 11, 2015

couldnt you always just use cygwin?

@x89
Copy link
Owner Author

x89 commented May 11, 2015 via email

@ghost
Copy link

ghost commented May 14, 2015

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

@moopie
Copy link

moopie commented May 15, 2015

Well you can always develop it in wine

@anlutro anlutro mentioned this issue Jun 4, 2015
@anlutro
Copy link
Contributor

anlutro commented Sep 9, 2015

How is this not resolved yet? Awful project management.

@x89
Copy link
Owner Author

x89 commented Sep 9, 2015 via email

@anlutro
Copy link
Contributor

anlutro commented Sep 9, 2015

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
#2 (comment).

@x89
Copy link
Owner Author

x89 commented Sep 9, 2015 via email

@anlutro
Copy link
Contributor

anlutro commented Sep 9, 2015

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
#2 (comment).

@x89
Copy link
Owner Author

x89 commented Sep 9, 2015

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

@anlutro
Copy link
Contributor

anlutro commented Sep 9, 2015

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
#2 (comment).

@x89
Copy link
Owner Author

x89 commented Sep 9, 2015

🙍

@FredG71
Copy link

FredG71 commented Sep 9, 2015

rofl.

@zQueal
Copy link
Contributor

zQueal commented Dec 1, 2015

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
Copy link
Owner Author

x89 commented Dec 1, 2015 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants