Skip to content

Commit

Permalink
Fix icons script and update icons
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkFenX committed Feb 20, 2024
1 parent 69ef782 commit 494b635
Show file tree
Hide file tree
Showing 67 changed files with 9 additions and 1 deletion.
Binary file modified imgs/icons/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified imgs/icons/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified imgs/icons/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified imgs/icons/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified imgs/icons/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified imgs/icons/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified imgs/icons/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified imgs/icons/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified imgs/icons/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified imgs/icons/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified imgs/icons/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified imgs/icons/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified imgs/icons/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified imgs/icons/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified imgs/icons/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified imgs/icons/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified imgs/icons/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified imgs/icons/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified imgs/icons/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified imgs/icons/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified imgs/icons/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified imgs/icons/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified imgs/icons/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified imgs/icons/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed imgs/icons/[email protected]
Binary file not shown.
Binary file removed imgs/icons/[email protected]
Diff not rendered.
Binary file removed imgs/icons/[email protected]
Diff not rendered.
Binary file removed imgs/icons/[email protected]
Diff not rendered.
Binary file removed imgs/icons/[email protected]
Diff not rendered.
Binary file removed imgs/icons/[email protected]
Diff not rendered.
Binary file removed imgs/icons/[email protected]
Diff not rendered.
Binary file removed imgs/icons/[email protected]
Diff not rendered.
Binary file removed imgs/icons/[email protected]
Diff not rendered.
Binary file removed imgs/icons/[email protected]
Diff not rendered.
Binary file removed imgs/icons/[email protected]
Diff not rendered.
Binary file removed imgs/icons/[email protected]
Diff not rendered.
Binary file removed imgs/icons/[email protected]
Diff not rendered.
Binary file removed imgs/icons/[email protected]
Diff not rendered.
Binary file removed imgs/icons/[email protected]
Diff not rendered.
Binary file removed imgs/icons/[email protected]
Diff not rendered.
Binary file removed imgs/icons/[email protected]
Diff not rendered.
Binary file removed imgs/icons/[email protected]
Diff not rendered.
Binary file removed imgs/icons/[email protected]
Diff not rendered.
Binary file removed imgs/icons/[email protected]
Diff not rendered.
Binary file removed imgs/icons/[email protected]
Diff not rendered.
Binary file removed imgs/icons/[email protected]
Diff not rendered.
Binary file removed imgs/icons/[email protected]
Diff not rendered.
Binary file removed imgs/icons/[email protected]
Diff not rendered.
Binary file removed imgs/icons/[email protected]
Diff not rendered.
Binary file removed imgs/icons/[email protected]
Diff not rendered.
Binary file removed imgs/icons/[email protected]
Diff not rendered.
Binary file removed imgs/icons/[email protected]
Diff not rendered.
Binary file removed imgs/icons/[email protected]
Diff not rendered.
Binary file removed imgs/icons/[email protected]
Diff not rendered.
Binary file removed imgs/icons/[email protected]
Diff not rendered.
Binary file removed imgs/icons/[email protected]
Diff not rendered.
Binary file modified imgs/renders/[email protected]
Binary file modified imgs/renders/[email protected]
Binary file modified imgs/renders/[email protected]
Binary file modified imgs/renders/[email protected]
Binary file modified imgs/renders/[email protected]
Binary file modified imgs/renders/[email protected]
Binary file modified imgs/renders/[email protected]
Binary file modified imgs/renders/[email protected]
Binary file modified imgs/renders/[email protected]
Binary file modified imgs/renders/[email protected]
10 changes: 9 additions & 1 deletion scripts/icons_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@

from PIL import Image


def get_full_alias(short_alias):
full_aliases = {
'tq': 'tranquility',
'sisi': 'singularity'}
return full_aliases.get(short_alias, short_alias)


parser = argparse.ArgumentParser(description='This script updates module icons for pyfa')
parser.add_argument('-e', '--eve', required=True, type=str, help='path to eve\'s shared cache folder')
parser.add_argument('-s', '--server', required=False, default='tq', type=str, help='which server to use (defaults to tq)')
Expand All @@ -34,7 +42,7 @@
with open(args.icons, 'r') as f:
icon_json = json.load(f)

eve_path = os.path.join(args.eve, 'index_{}.txt'.format(args.server))
eve_path = os.path.join(args.eve, 'index_{}.txt'.format(get_full_alias(args.server)))
with open(eve_path, 'r') as f:
lines = f.readlines()
file_index = {x.split(',')[0]: x.split(',') for x in lines}
Expand Down

0 comments on commit 494b635

Please sign in to comment.