-
Notifications
You must be signed in to change notification settings - Fork 5
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
[Bug 🐛 ]: Github Actions #5
Comments
And, the Mica blur(the app blur that resembles Windows 11's blur) is good. Actually, too good. If I were to use the light mode on a light website, it seems too bright, so we need to control that. Maybe we could do this the same way we manage dark mode. |
@im-coder-lg The app doesn’t have mica, but it has acrylic(And it doesn’t even work!), so I don’t really get what mica you are talking about |
@im-coder-lg About the windows installer, I was planning to build it next week, which automatically creates a shortcut for the Start Menu. I still think that I wil create a action for windows. |
I recently read an article and it also had a part of Windows 11 theming. Right now, you have a kinda blossoming thing(idk what it is) as your desktop image. In dark mode(Windows 11 dark mode), if you try opening the Start menu, it'll have a kinda great acrylic blur that Microsoft calls "Mica". That's what I meant.
Feel free to(regarding actions). But what software are you using for the installer? |
@im-coder-lg I will probably use a bat file. Can you provide examples for when the acrylic is not good? |
Well, let's take the It's FOSS website in bright light mode. On using that with the light mode, the app seems like a mobile photo with overexposure. If there's a toggle for blur, it'd be cool. Also, it's best to have Always On Top and Dark mode toggles in a unified settings window so that the app seems more clean. |
@im-coder-lg The acrilic does not display for me? Can you share a screenshot?
|
Regarding this, we might need some requirements. Maybe I will produce the batch file and upload the code here. |
A work I thought would take till Sunday is done. @ECHO OFF
TITLE TimerX Installer
echo Welcome to TimerX Installer!
echo The requirements needed to install TimerX are as follows:
echo Python 3.x, best use the one that's on Anaconda3
echo https://anaconda.org/downloads
echo Git for getting the latest code
echo https://git-scm.org/
echo And, finally, Administrator rights so that TimerX may appear on your Start menu.
echo Restart the program but with Administrator rights+On the `C:` drive(right click and hit the shield for admin launch)
echo After starting up with Admin rights, hit Enter.
PAUSE
echo Now, we'll be showing the commands to you, so you don't need to feel insecure.
@ECHO on
@ECHO We are cloning this at the root of your directory, so make sure it's Desktop, it'd be more convienient.
@REM Try C: if not redirecting, this is a remark.
git clone https://github.com/sumeshir26/TimerX ./TimerX
@echo Now, we'll be installing the requirements.
cd TimerX
pip install -r requirements.txt
@echo Now, we'll be creating the app.
pyinstaller main.spec
@echo Now, we'll be creating the shortcut.
@echo First, open Explorer, go to your TimerX directory
@echo Now, open the `dist` folder and right click on `TimerX.exe`
@echo Now, right click on `TimerX.exe` and hit "Send to > Desktop(Shortcut)"
@echo Now, go to `%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs` and paste the shortcut there.
@echo Now, you have a Start Menu shortcut. you might need to reload, but finally, you have TimerX.
@echo After following the above steps, you can hit the Enter key to exit the installer.
@echo Remember, you must keep the source code in the Desktop folder. If you move them, you must repeat the steps above.
@PAUSE
REM End of TimerX Installer.bat
@echo Exiting TimerX Installer...
EXIT We might've done it. |
About this: |
@im-coder-lg I’m going to be out of town till Monday, so i can’t review anything till then |
I'll be done with the installer by then. |
Will add that… |
@im-coder-lg How about this for the github action(we can modify this for matrix os):https://anshumanfauzdar.medium.com/using-github-actions-to-bundle-python-application-into-a-single-package-and-automatic-release-834bd42e0670 |
I have an idea. Let's use two of them. One without the |
So, let's get straight to the point.
We both have a Windows computer, so even if I switch to Linux(not yet, I need to give my PC, maybe by Saturday, I hope so), you can test Windows. We know that Mac and Linux use the
bash
shell. Well, Mac uses Zsh, but the set of commands are awfully similar.So, this is my idea. If the shell works, it could mean that the OS build also would work.
About the .App Mac executable, we'll see about that later, we can NOT access the runtime that GitHub Actions uses to upload the build.
So, we need a build converter of sorts. I can run only server VMs, so we could run a VM or we could try finding any Mac runtimes on the cloud.
Here's about the build issue(I need to stop diverting the topic):
Windows works
Linux must be working, I'll check Raspbian(PS: It's Debian, not Ubuntu)
Mac, we must inspect.
For the Mac App file, we must inspect that.
Linux AppImage file needs to be created.
An installer file must be made, where the modules are installed automatically. We could use the .BAT file for Windows(DOS coding 😎) or .SH coding for Mac and Linux.
So, the installer is done, it will build the program from source so users don't miss anything.
About the runtime, remove Windows and Mac. Let Linux be there, once we find a Mac fix, we can add a separate build file for Mac. You can manage Windows, it's a matter of five minutes to build.
If I am confusing enough, I'm sorry. Got a whole lot of things around me, this one dominating them.
The text was updated successfully, but these errors were encountered: