Compiler option -> Use icon (Windows & MacOS)

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Offin
User
User
Posts: 34
Joined: Mon May 04, 2009 10:53 am
Location: France

Compiler option -> Use icon (Windows & MacOS)

Post by Offin »

I propose my application for Windows and MacOS.
Each time i change the source code, i have to re-compile one executable file for Windows + another executable file for MacOS.
Before re-compiling, i have to set the correct icon for the application (Compiler option -> Use icon).

I would love if we could define one icon for each OS version.
Or why not, we just set the name without extension, and PB automatically adds ".ico" for Windows and ".icns" for MacOS.

PS: this remark is certainely also applicable for Linux, but i am not familar with this OS.
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Compiler option -> Use icon (Windows & MacOS)

Post by Fred »

When dealing with crossplatform, the best is to handle you compilation in a little script, with the PB commandline compiler. That's faster to deploy/package/upload on your website in one step. That said, the idea to ignore the icon extension could work.
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Re: Compiler option -> Use icon (Windows & MacOS)

Post by DoubleDutch »

This would be pretty handy.
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
Post Reply