IDE packager question

Questions and info about the Gambas IDE itself and not what you are making with it.
(not bug reports)
Post Reply
User avatar
gbWilly
Posts: 111
Joined: Friday 23rd September 2016 11:41am
Location: Netherlands
Contact:

IDE packager question

Post by gbWilly »

I've been working with the IDE packager a lot the past 15 years to distribute my applications
I use it to place extra files at certain locations upon install or to create dependencies on certain applications that get installed when my application gets installed.
I have even used it to create a mime type for an application extension one of my applications used (long long time ago that is)

So, I' m quite familiar with that IDE packager tool.
But now I ran into a thingy I would like to get done but don' t know how.

I have a file in my .hidden folder that upon install gets placed in /usr/local/bin
After install I always have to go to this folder an do a chmod 755 to make it executable.

Now, I was wondering if this is possible during install, using the packager.
I was thinking section in screen below (additional configuration) could be the place to do it, just have no idea how.
screen.png
screen.png (34.63 KiB) Viewed 3620 times
Anyone any suggestions/experience doing this?
gbWilly
- Dutch translation for Gambas3
- Gambas wiki content contributer
- Gambas3 Debian repository


... there is always a Catch if things go wrong!
User avatar
gbWilly
Posts: 111
Joined: Friday 23rd September 2016 11:41am
Location: Netherlands
Contact:

Re: IDE packager question

Post by gbWilly »

Meanwhile I figured out that if I make the file executable in the .hidden folder of project and next have it placed in /usr/local/bin during install it stays executable. So, I got that working.

But I' m still curious on how to use the additional configuration.
Never used it and I have no idea how to (not really documented).
I suppose it is used for some post configuration stuff (run as root during install)
So, If someone has an example on how to use this, I would love to see it.
gbWilly
- Dutch translation for Gambas3
- Gambas wiki content contributer
- Gambas3 Debian repository


... there is always a Catch if things go wrong!
Online
User avatar
thatbruce
Posts: 237
Joined: Saturday 4th September 2021 11:29pm

Re: IDE packager question

Post by thatbruce »

AFAIK it is just what it says there, "The following will be added to the end of the desktop configuration file."
I did have a use for that once, but many years ago and I never needed or used it again.
I guess you'd have to look at a sample of the desktop config file created and see if you can think up a need for it.
b
User avatar
gbWilly
Posts: 111
Joined: Friday 23rd September 2016 11:41am
Location: Netherlands
Contact:

Re: IDE packager question

Post by gbWilly »

I've used many options in the packager, just never knew what this could be useful for and what it actually does.

Guess, if I have some spare time might dive into 'the what and why and if it can have a useful use'.
The keyword if IF

Thanks for the suggestion
gbWilly
- Dutch translation for Gambas3
- Gambas wiki content contributer
- Gambas3 Debian repository


... there is always a Catch if things go wrong!
Post Reply