Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is there a way to permantly replace the default .ico with a custome one?
#3
Here's how I'd go about doing this:

1) Get a copy of the repo itself -- NOT the already compiled Windows/Linux Builds.  (https://github.com/QB64-Phoenix-Edition/...s/main.zip )  <-- This should be the link/file you're looking for, for the current, most up to date version.

2) Instead of having QB64PE.EXE already built, you'll need to build your own EXE with the "setup_win.cmd".  (Or lnx, or mac, as per the OS you're installing on.)  Take note of the relevant file, but DON'T build your version yet.

3) Instead, go into "internal/source/" and replace the "icon.ico" there with the icon you generated.  It's easiest if you just name yours "icon.ico" and overwrite the old one.  That way you won't have to alter the .rc file or anything else.

4) Now go back to the root directory for where you extracted QB64PE, and run the proper install script for you OS.  You'll build QB64PE from scratch, and it'll find your file instead of our current icon, and use it for QB64PE.

After that, you'll done and just run the built QB64PE.EXE like usual, with the icon you provided in place of the one we ship by default.  Smile
Reply


Messages In This Thread
RE: Is there a way to permantly replace the default .ico with a custome one? - by SMcNeill - 10-12-2023, 06:15 PM



Users browsing this thread: 1 Guest(s)