Files
Maxime Coirault c72efca8a6 Add Windows-based launcher script (#183)
* Add Windows-based launcher script

* Clone the test branch when running the windows-launcher

* Add warning related to unix username rules

* Add logic to check and install the WSL feature

* Add version number of the script to the title

* Use a label for the wsl distro to distinguish it from a potential existing install

* fix installed distro not being detected properly under powershell 5.1

* force wsl to output utf8 and improve wsl mount/unmount output messages

* move mounting the disk after apt update and clone to help with the disk not appearing in lsblk

* fix wsl encoding for PS5.1 and ensure only one restart is needed upon installing all 3 features

* improve disk size format

* add parameter -log to copy the output of the console to ~\psbbn-windows-launcher.log

* relaunch the script as administrator automatically if needed

* implement a folderpicker for the main content folder and pass it to linux scripts

* improve disk picker to detect OPL volume and allow to refresh

* add comments and linebreak the longer code lines

* checkout branch even if the repo is already cloned to another one

* add fallback logic in case the remote branch was deleted

* change target branch to main, and add some comments

* fix variable scope of $diskList

* change string.Split call to work with powershell 5.1

* move and rename the windows scripts

* resize the console to 100x45 and save the selected path to path.cfg

* offline/online disk before mounting on wsl to avoid locking issues

* silence error when plugging a disk with no partition + add path.cfg to .gitignore

* use utf8-bom on the powershell script to enable proper display of utf8 characters

* update title acsii art

* offer to keep using the previously used games' path

* fix disk picking issue and add serial to the disk list

* open the explorer even when the same path is reused

* improve UI of the restart prompt
2025-09-11 12:42:55 +01:00

35 lines
504 B
Plaintext

scripts/venv/
scripts/node_modules/
scripts/storage/
scripts/assets/POPS-binaries-main/
scripts/assets/OPL/boot.kelf
scripts/assets/OPL/system.cnf
scripts/assets/NHDDL/boot.kelf
scripts/assets/NHDDL/system.cnf
scripts/assets/extras/
scripts/helper/.libs
games/ART/*.png
games/APPS/*.psu
scripts/assets/HDD-OSD/
games/APPS/HDD-OSD.elf
games/APPS/PSBBN.ELF
*.log
*.gz
*.zip
*.st
*.iso
*.ISO
*.zso
*.ZSO
*.vcd
*.VCD
*.json
*.mp3
*.m4a
*.flac
*.ogg
IOPRP252.IMG
POPS.ELF
gamepath.cfg
bnupdate.tar.gz
path.cfg