mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-12 07:20:02 +03:00
[Minor] Adds icon to EDMC.exe
EDMC didn't have an icon, and everyone deserves to have their own special thing. Thanks to CMDR DrebinOmega for the design!
This commit is contained in:
parent
7d362c41dd
commit
5ee7688c6a
6
build.py
6
build.py
@ -81,6 +81,7 @@ def generate_data_files(
|
||||
"ships.json",
|
||||
"ships.p", # TODO: Remove in 6.0
|
||||
f"{app_name}.ico",
|
||||
f"resources/{appcmdname}.ico",
|
||||
"EDMarketConnector - TRACE.bat",
|
||||
"EDMarketConnector - localserver-auth.bat",
|
||||
"EDMarketConnector - reset-ui.bat",
|
||||
@ -171,7 +172,7 @@ def build() -> None:
|
||||
console_config: dict = {
|
||||
"dest_base": appcmdname,
|
||||
"script": "EDMC.py",
|
||||
"icon_resources": [(0, f"{appname}.ico")],
|
||||
"icon_resources": [(0, f"resources/{appcmdname}.ico")],
|
||||
"other_resources": [
|
||||
(24, 1, pathlib.Path(f"resources/{appcmdname}.manifest").read_text(encoding="UTF8"))
|
||||
],
|
||||
@ -185,7 +186,8 @@ def build() -> None:
|
||||
data_files=data_files,
|
||||
options=options,
|
||||
)
|
||||
except FileNotFoundError:
|
||||
except FileNotFoundError as err:
|
||||
print(err)
|
||||
sys.exit(
|
||||
"Build Failed due to Missing Files! Have you set up your submodules? \n"
|
||||
"https://github.com/EDCD/EDMarketConnector/wiki/Running-from-source"
|
||||
|
@ -57,7 +57,7 @@ appcmdname = 'EDMC'
|
||||
_static_appversion = '5.10.1'
|
||||
|
||||
_cached_version: semantic_version.Version | None = None
|
||||
copyright = '© 2015-2019 Jonathan Harris, 2020-2023 EDCD'
|
||||
copyright = '© 2015-2019 Jonathan Harris, 2020-2024 EDCD'
|
||||
|
||||
update_feed = 'https://raw.githubusercontent.com/EDCD/EDMarketConnector/releases/edmarketconnector.xml'
|
||||
update_interval = 8*60*60 # 8 Hours
|
||||
|
@ -16,7 +16,7 @@ AppPublisher={#MyAppPublisher}
|
||||
AppPublisherURL={#MyAppURL}
|
||||
AppSupportURL={#SuppURL}
|
||||
AppUpdatesURL={#SuppURL}
|
||||
AppCopyright=Copyright (C) 2015-2019 Jonathan Harris, 2020-2023 EDCD
|
||||
AppCopyright=Copyright (C) 2015-2019 Jonathan Harris, 2020-2024 EDCD
|
||||
AllowUNCPath=no
|
||||
AllowNetworkDrive=no
|
||||
DefaultDirName={autopf}\{#MyAppName}
|
||||
|
BIN
resources/edmc.ico
Normal file
BIN
resources/edmc.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 25 KiB |
BIN
resources/io.edcd.EDMarketConnector.cmd.psd
Normal file
BIN
resources/io.edcd.EDMarketConnector.cmd.psd
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user