Mozoloa/QuickPSScriptLauncher

A quick way to launch scripts, handy for your numerous cloned githubs

โ˜… 0Forks 0PowerShellGitHub โ†—Compare

README

QuickPSScriptLauncher

A quick way to launch powershell scripts, handy for your numerous cloned githubs if you use conda etc

Installation & Usage

  1. Git clone this repo
  2. Right click main.ps1 > run with powershell (An optional taskbar pin-able shortcut will appear next to it)
  3. Create personalised category subfolders inside scripts to put your scripts in
  4. Example of correct folder structure :
๐Ÿ“„ main.ps1
๐Ÿ“‚ scripts
โ”œโ”€โ”€ ๐Ÿ“‚ Deepfake
โ”‚   โ””โ”€โ”€ ๐Ÿ“„ FaceFusion.ps1
โ”œโ”€โ”€ ๐Ÿ“‚ Image
โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ FastCaption.ps1
โ”‚   โ””โ”€โ”€ ๐Ÿ“„ Kohya.ps1
...
  1. Hit Refresh to refresh the UI
  2. Launch your scripts by clicking on their name

Other buttons

  • ๐Ÿ“‚ : Browse to the execution $location of the script (see Script Example bellow)
  • ๐Ÿ“บ : Launch a powershell windows in this execution $location
  • Scripts : Open the script library
  • Update : Execute git pull in this repository for updates (โš ๏ธ experimental, only works if you git cloned this repo)

Script example

Using a github repo with conda env

$location =  "path/to/repo" # Set this variable to get the extra buttons on the UI
Set-location $location
conda activate envname
git pull # if you want to auto update
python app.py

Current UI

Alt text

Contributors

Mozoloa

Issues