Skip to content

Commit

Permalink
Add more icon sizes
Browse files Browse the repository at this point in the history
Linux are picky about icon sizes.
  • Loading branch information
dgud committed Jan 29, 2019
1 parent 970a650 commit c7986c0
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
/ebin/*.app
/ebin/*.bundle
/ebin/*.lang
/ebin/*.png

# /intl_tools/
/intl_tools/wings_chars.hrl
Expand Down
Empty file added ebin/.gitignore
Empty file.
11 changes: 10 additions & 1 deletion icons/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,13 @@ ICONSETS= \
bluecube \
purpletube

TARGET_FILES = $(ICONSETS:%=$(EBIN)/wings_icon_%.bundle)
ICONSIZE= \
48x48 \
256x256 \
379x379

TARGET_FILES = $(ICONSETS:%=$(EBIN)/wings_icon_%.bundle) \
$(ICONSIZE:%=$(EBIN)/wings_icon_%.png)

GEN_PS_ICONS=$(wildcard orig/bluecube-assests/*.png)
PS_ICONS=$(patsubst %,bluecube/%,$(notdir $(GEN_PS_ICONS)))
Expand Down Expand Up @@ -53,5 +59,8 @@ clean:
rm -f collect_bmp.beam
@echo

$(EBIN)/%.png:
install $*.png $@

%.beam: $(ESRC)/%.erl
$(ERLC) $(ERL_COMPILE_FLAGS) -o. $<
Binary file added icons/wings_icon_256x256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added icons/wings_icon_48x48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c7986c0

Please sign in to comment.