1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-12 15:27:14 +03:00

Merge pull request #2143 from HullSeals/enhancement/edmc-cmd-ico

[Minor] Adds icon to EDMC.exe
This commit is contained in:
Phoebe 2024-01-04 23:48:39 +01:00 committed by David Sangrey
parent 33ea0124d8
commit 1f68c30040
No known key found for this signature in database
GPG Key ID: 3AEADBB0186884BC
5 changed files with 6 additions and 4 deletions

View File

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

View File

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

View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.