mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-03 20:13:02 +00:00
add icon to windows dist
This commit is contained in:
+1
-1
@@ -66,7 +66,7 @@ class HandleArgs:
|
||||
f"--add-data=assets{_s}assets",
|
||||
f"--add-data=client{_s}client",
|
||||
f"--add-data=runtime.config.ini{_s}.",
|
||||
f"--icon=../assets/logo-fill.ico",
|
||||
f"--icon=assets/logo-fill.ico",
|
||||
"-y",
|
||||
]
|
||||
)
|
||||
|
||||
@@ -52,6 +52,7 @@ class Track:
|
||||
self.og_title = self.title
|
||||
self.og_album = self.album
|
||||
self.last_mod = int(self.last_mod)
|
||||
self.date = int(self.date)
|
||||
|
||||
if self.artists is not None:
|
||||
artists = split_artists(self.artists)
|
||||
|
||||
+4
-6
@@ -15,13 +15,11 @@ config = ConfigParser()
|
||||
config_path = get_home_res_path("runtime.config.ini")
|
||||
config.read(config_path)
|
||||
|
||||
try:
|
||||
IS_BUILD = config["DEFAULT"]["BUILD"] == "True"
|
||||
settings.Keys.LASTFM_API = config["DEFAULT"]["LASTFM_API_KEY"]
|
||||
except KeyError:
|
||||
# If the key doesn't exist, the app is in dev mode.
|
||||
IS_BUILD = False
|
||||
|
||||
IS_BUILD = config["DEFAULT"]["BUILD"] == "True"
|
||||
|
||||
if IS_BUILD:
|
||||
settings.Keys.LASTFM_API = config["DEFAULT"]["LASTFM_API_KEY"]
|
||||
|
||||
class CopyFiles:
|
||||
"""Copies assets to the app directory."""
|
||||
|
||||
Reference in New Issue
Block a user