Compare commits

...

4 Commits

Author SHA1 Message Date
Kim
80419aa05e Merge remote-tracking branch 'origin/master'
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2021-11-02 20:56:53 +01:00
Kim
74a590af14 create standalone executable 2021-11-02 20:55:55 +01:00
Kim
18685f611d add .gitignore 2021-11-02 20:54:14 +01:00
Kim
a3302cfe0d hide urls when CLOSE_WINDOW_AFTER is False 2021-11-02 20:54:01 +01:00
3 changed files with 9 additions and 2 deletions

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
build
dist
*.spec
.idea

BIN
prnt.sc_link_generator.exe Normal file

Binary file not shown.

View File

@ -28,8 +28,11 @@ def generate_url(base_url: str = 'https://prnt.sc/'):
for _ in range(NUMBER_OF_LINKS_TO_GENERATE):
URL = generate_url()
print(URL)
if URL_AUTO_OPEN is True:
if not CLOSE_WINDOW_AFTER:
print(URL)
if URL_AUTO_OPEN:
webbrowser.open(URL)
if not CLOSE_WINDOW_AFTER: