You can configure for applications or scripts to be executed when you are logged in to your GNOME session. If you require your application or script to launch regardless of the user's desktop environment or even before you're logged in, you can use other methods such as systemd or crontab.
This method works for any Linux distributions as long as GNOME is the user's desktop environment. Some of the Linux distributions with GNOME as the default desktop environment is Ubuntu, and CentOS / Red Hat.
This method creates an autostart config file that will be used to launch your application or script. It does not require installation of third party tools such as GNOME Tweaks.
Make sure the user has execute permission on the script or application.
Related: How to set file and folder permission on Linux
Comment anonymously. Login not required.