- PowerShell 98%
- Batch File 2%
⚠️⚠️⚠️ As of 29/02/2024 this repo has been moved to GitLab at https://gitlab.com/alepouna.dev/aviation-apps-starter #
aviation-apps-starter #
Literally a powershell script I made to start aviation software because I can not be asked to click them all every time I restart the pc. It also contains a script that will rename the FlyByWire MCDU server file to an appropriate file name (so it can be found in task manager)
How to use with the installer (v1.0.4 and onwards) #
- Download the Setup.exe file from the latest release. The installer will setup the folders and shortcuts as you prefer.
- Run the app and type
FAand hit enter. - Copy all the shortcuts you want the program to run and paste them inside the folder the app opened.
- Edit the launcher.ps1 with Notepad++ or the Windows PowerShell ISE (recommended) to ensure the shortcuts you just pasted will match what the application will start.
- Double click the
start.bator the shortcuts you have created to run the app!
How to use without an installer (manually setup the program) #
- Create a folder somewhere on your computer and put all the shortcuts you wish to start there, in my case I have the following:
- Download the
launcher.ps1and place it INSIDE the folder you created above. - Right click on the
launcher.ps1click on "Send to" and then "Desktop (Create shortcut)" - Right click on the shortcut you just made, click on "Properties", go to the "Shortcut" tab and change the "Target" to the following:
"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -command "& PATH\launcher.ps1 production"Copy the path from the "Start in" field and paste it over the "PATH" word on previous step, so examlpe if your target is "E:\Aviation" your startup command will be:C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -command "& E:\Aviation\launcher.ps1 production" - Click Apply and then OK!
- Download the
launcher.icofile and place it on the same folder as the launcher app - Right click on the shortcut you made, click on "Properties", go to the "Shortcut" tab and click on "Change Icon".
- Click "Browse" and locate the icon.
- Click Apply and then OK!
Add/Remove programs #
It's quite easy. Simple edit the program functions to add or remove programs.
Functions that start apps will be labaled start with LauncherStart-. Fiddle with the code to see how to add more software.
Don't forget to edit the 'GUI'!
Feature requests, issues and contributions #
Please do not create feature requests, issues or pull requests that request more software. I made this script with the software I use locally. If you want to add or remove software, please just add them to your local script. If you need help with that, ask in my airline Discord. https://aegeanairva.com/ Thank you!
Fix "launcher.ps1 cannot be loaded because running scripts is disabled on this system" #
Please note that when using the installer this option is automatically set, if not:
- Open an ADMIN Power Shell prompt
- Run
Set-ExecutionPolicy Unrestricted - Press A Done! Please note that this allows all PS1 scripts to be executed and can be unsafe.