mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-31 06:22:18 +00:00
Add windows icon and splashscreen
This commit is contained in:
4
build/pyinstaller/terminal.spec
vendored
4
build/pyinstaller/terminal.spec
vendored
@@ -132,7 +132,7 @@ elif build_type == "folder":
|
||||
# Platform specific settings
|
||||
if is_win:
|
||||
splash = Splash(
|
||||
os.path.join(os.getcwd(), "images", "splashscreen.png"),
|
||||
os.path.join(os.getcwd(), "images", "openbb_splashscreen.png"),
|
||||
binaries=a.binaries,
|
||||
datas=a.datas,
|
||||
text_pos=(200, 400),
|
||||
@@ -140,7 +140,7 @@ if is_win:
|
||||
text_color="white",
|
||||
)
|
||||
exe_args += [splash, splash.binaries]
|
||||
exe_kwargs["icon"] = (os.path.join(os.getcwd(), "images", "gst_app.ico"),)
|
||||
exe_kwargs["icon"] = (os.path.join(os.getcwd(), "images", "openbb_icon.ico"),)
|
||||
|
||||
if is_darwin:
|
||||
exe_kwargs["icon"] = (os.path.join(os.getcwd(), "images", "openbb.icns"),)
|
||||
|
||||
BIN
images/openbb_icon.ico
vendored
Normal file
BIN
images/openbb_icon.ico
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 19 KiB |
BIN
images/openbb_splashscreen.png
vendored
Normal file
BIN
images/openbb_splashscreen.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.5 MiB |
Reference in New Issue
Block a user