PDA

View Full Version : Deployment script: create a launcher



mohamad
March 4th, 2007, 11:10 PM
Hi,
I made a java program and now I want to make a deployment script that puts files in the "/usr/bin" folder and that kind of stuff.
Now I also want it to make a launcher on the desktop with an icon. Just like you make a launcher with the "Create Launcher" dialog when you right click on the desktop.
Does anyone knows how to do this in the terminal, so I can put it in my script?
thanks in advance

lnostdal
March 4th, 2007, 11:14 PM
the launcher-thingies are just simple text-files .. open them in a text-editor and take a look

mohamad
March 5th, 2007, 07:32 AM
the launcher-thingies are just simple text-files .. open them in a text-editor and take a look

He thanks! This is exactly what I was looking for, I did not realize it was so simple. But now I'm trying to make folder in my script with a custom icon. Too bad those folder arent just simple text-files ;) Do you have a solution for that too?
thnx