IDE packager question

Post

Posted
Rating:
#1 (In Topic #1250)
Avatar
Administrator
gbWilly is in the usergroup ‘unknown’
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.

Image

(Click to enlarge)


Anyone any suggestions/experience doing this?

gbWilly
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories


… there is always a Catch if things go wrong!
Online now: No Back to the top

Post

Posted
Rating:
#2
Avatar
Administrator
gbWilly is in the usergroup ‘unknown’
 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
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories


… there is always a Catch if things go wrong!
Online now: No Back to the top

Post

Posted
Rating:
#3
Avatar
Regular
thatbruce is in the usergroup ‘Regular’
 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

Online now: No Back to the top

Post

Posted
Rating:
#4
Avatar
Administrator
gbWilly is in the usergroup ‘unknown’
 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
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories


… there is always a Catch if things go wrong!
Online now: No Back to the top

Post

Posted
Rating:
#5
Avatar
Administrator
gbWilly is in the usergroup ‘unknown’

gbWilly said

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
Nope, not spare time but sheer need is the cause of this discovery. I made this RemoteDaemon in gambas, that I use to manage remote client systems.
It runs as a true daemon in the background. Only annoying thing is, once installed, it showed up in the menu.

Well, the additional configuration turns out to be the solution.
I added 'NoDisplay=true' and after install, no more menu entry, just perfect.

Image

(Click to enlarge)


gbWilly
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories


… there is always a Catch if things go wrong!
Online now: No Back to the top
1 guest and 0 members have just viewed this.