One click program start solution?
On Windows there are .exe files. You can just double-click on them and it will start a program and (depending on how your program is built) can be moved between computers with ease without having to do any reconfiguration.
I have not found a way to make my program I make so I can give it to someone in an email or something and then they just double-click on it and it work.
I could have a bash script start my program, but then the user would get that "run/run in terminal/display" prompt instead of just starting right away.
I could have a .desktop file start it (and this looked like it would work because you double-click and then the program starts) but it needs to know the path to the program, so if someone else opened up the program on their computers the path to the files would be different, so that wont work.
So is there something I am missing? What can I do so I can just give a folder with my program and a launcher in it to a user, so they can just double-click and launch the program?
I was thinking about using deb or rpm, but that would be a little extravagant for my small programs. Plus it is not really a click and start thing until after you install it.