Compare commits
3 Commits
ea8930ad14
...
5a51f49bef
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5a51f49bef | ||
|
|
369bb537d4 | ||
|
|
2d123e1a74 |
@ -1,5 +1,5 @@
|
|||||||
import os
|
import os
|
||||||
import PySimpleGUI as sg
|
import FreeSimpleGUI as sg
|
||||||
from datetime import date, timedelta
|
from datetime import date, timedelta
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from PIL import Image, ImageDraw, ImageEnhance, ImageFilter, ImageFont, ImageOps
|
from PIL import Image, ImageDraw, ImageEnhance, ImageFilter, ImageFont, ImageOps
|
||||||
@ -15,7 +15,7 @@ def resource_path(relative_path):
|
|||||||
|
|
||||||
def save_filename():
|
def save_filename():
|
||||||
"""determin file name by platform"""
|
"""determin file name by platform"""
|
||||||
folder = Path('D:/OBS Assets/Overlays')
|
folder = Path('C:/Users/harvest/Documents/OBS/Overlays')
|
||||||
if folder.exists():
|
if folder.exists():
|
||||||
return folder / 'Title.png'
|
return folder / 'Title.png'
|
||||||
return Path.home() / 'Pictures' / 'Title.png'
|
return Path.home() / 'Pictures' / 'Title.png'
|
||||||
|
|||||||
0
hcatitles.spec
Executable file → Normal file
0
hcatitles.spec
Executable file → Normal file
0
projector.ico
Executable file → Normal file
0
projector.ico
Executable file → Normal file
|
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 66 KiB |
@ -1,5 +1,5 @@
|
|||||||
Pillow
|
Pillow
|
||||||
pyinstaller
|
pyinstaller
|
||||||
pyinstaller-hooks-contrib
|
pyinstaller-hooks-contrib
|
||||||
PySimpleGUI==4.60.1
|
FreeSimpleGUI
|
||||||
pywin32-ctypes
|
|
||||||
|
|||||||
3
startup.bat
Normal file
3
startup.bat
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
cd C:\Development\hcatitles
|
||||||
|
call venv\scripts\activate.bat
|
||||||
|
python hcatitles.py
|
||||||
3
startup.vbs
Normal file
3
startup.vbs
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
Set objShell = CreateObject("WScript.Shell")
|
||||||
|
objShell.Run Chr(34) & "C:\Development\hcatitles\startup.bat" & Chr(34), 0
|
||||||
|
Set objShell = Nothing
|
||||||
0
tahoma.ttf
Executable file → Normal file
0
tahoma.ttf
Executable file → Normal file
0
tahomabd.ttf
Executable file → Normal file
0
tahomabd.ttf
Executable file → Normal file
Loading…
Reference in New Issue
Block a user