Add windows icon and splashscreen

This commit is contained in:
Theodore Aptekarev
2022-03-29 16:45:15 +03:00
parent ef3fc5c21a
commit 490224de2f
3 changed files with 2 additions and 2 deletions

View File

@@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

BIN
images/openbb_splashscreen.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB