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

replace "workaround" batch files with pyw #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Gapva
Copy link

@Gapva Gapva commented Mar 16, 2024

why use batch for this, anyway?

to kill the background terminal interface (hence the @echo off)

why change it?

  • batch files are not cross-platform
  • the internal call it uses to run python is very specific and varies depending on installations

no, but like, why change it? this repository hasn't gotten a commit in years!

i love gd cologne

the solution

every installation of python comes bundled with a way to accomplish the same thing, out of the box: simply renaming your .py file to .pyw (short for "python window"). this ensures that the output is hidden and no terminal instance is created in parallel with the window process

i recently got back into VVVVVV via 3DS homebrew/CFW and found this repository. it piqued my interest so i'll probably be contributing to this pretty often despite its lack of activity in recent years. this is more of a "dummy commit" to prepare my fork for the massive influx of other QoL improvements, bugfixes, features, etc.

@Gapva
Copy link
Author

Gapva commented Mar 16, 2024

also it just really hurts to look at the langbar because of those pesky batch files
image

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

Successfully merging this pull request may close these issues.

1 participant