Auto make the project executable (it has it's uses)
Posted
#1
(In Topic #721)
Guru

It automatically makes the executable in the project folder if it's being run from the IDE
(Args[0] will just be the app name if run from ide or it's path if run via the executable)
Code (gambas)
- ' With this command the project executable is compiled as it's launched (If run from the IDE Arg[0] has no path).
This is useful for a couple of things at least…
You know when you have been testing an app (using the Run button in the IDE) and made changes but you forgot to hit "Make Executable" so you're still on the old version.
No worries it's already been compiled
Also if you are testing an app like some of mine that support drag-dropping onto the launcher icon.
these apps apps run the executable, i also have apps that only use one instance and other launches activate the open app. things like that need the executable made each time for testing.
Maybe you have had other reasons that you needed the Executable made every time you tested your program?
1 guest and 0 members have just viewed this.



