Changing App Icon

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
DXT
Prole
Posts: 7
Joined: Tue Sep 20, 2011 3:41 am
Location: Germany

Changing App Icon

Post by DXT »

Hello everyone

Is there a way to change the icon of the finished and merged .exe game file which is shown in the explorer? I already set the icon for the window itself with graphics.setIcon and it works fine for the taskbar and upper left window icon but the explorer icon is still the love default icon.

Sincere regards
User avatar
slime
Solid Snayke
Posts: 3131
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: Changing App Icon

Post by slime »

For Windows you might have to recompile the source with the new icon, I'm not sure. For OS X you can just stick the icon file inside the application package.
User avatar
thelinx
The Strongest
Posts: 857
Joined: Fri Sep 26, 2008 3:56 pm
Location: Sweden

Re: Changing App Icon

Post by thelinx »

Use a program like Resource Hacker.
User avatar
TechnoCat
Inner party member
Posts: 1611
Joined: Thu Jul 30, 2009 12:31 am
Location: Denver, CO
Contact:

Re: Changing App Icon

Post by TechnoCat »

slime wrote:For Windows you might have to recompile the source with the new icon, I'm not sure. For OS X you can just stick the icon file inside the application package.
And for Linux you cry.
User avatar
nevon
Commander of the Circuloids
Posts: 938
Joined: Thu Feb 14, 2008 8:25 pm
Location: Stockholm, Sweden
Contact:

Re: Changing App Icon

Post by nevon »

TechnoCat wrote:
slime wrote:For Windows you might have to recompile the source with the new icon, I'm not sure. For OS X you can just stick the icon file inside the application package.
And for Linux you cry.
For Linux, you create an .application file that points to an icon.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Changing App Icon

Post by bartbes »

That's .desktop, as for why, because applications themselves don't have icons.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Changing App Icon

Post by Robin »

... because Linux is for teh leet command line haxorz.
Help us help you: attach a .love.
User avatar
T-Bone
Inner party member
Posts: 1492
Joined: Thu Jun 09, 2011 9:03 am

Re: Changing App Icon

Post by T-Bone »

For Linux, if you made a .deb file or an install script, the launcher can have whatever icon you want it to have.
User avatar
nevon
Commander of the Circuloids
Posts: 938
Joined: Thu Feb 14, 2008 8:25 pm
Location: Stockholm, Sweden
Contact:

Re: Changing App Icon

Post by nevon »

bartbes wrote:That's .desktop, as for why, because applications themselves don't have icons.
Uh, right. My bad. Been Linux-less for the past 4 months.

But they do reside in ~/.share/applications/ or /usr/share/applications/ :oops:
DXT
Prole
Posts: 7
Joined: Tue Sep 20, 2011 3:41 am
Location: Germany

Re: Changing App Icon

Post by DXT »

thelinx wrote:Use a program like Resource Hacker.
Kinda works, thanks for this. Btw, what is the simplest way to get .ico files?
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 37 guests