7 Commits

Author SHA1 Message Date
CosmicScale
4cb986fca4 Fix git branch 2025-11-15 21:40:33 +00:00
CosmicScale
d99b7ef2eb Change branch to release-v3.00 2025-11-15 17:24:20 +00:00
Maxime Coirault
a86c8627cc Prevent selection of wsl folders and force wsl2 usage (#300)
* prevent users from picking a WSL folder

* explicitly use wsl 2 when installing the PSBBN distro

* run wsl --install --no-distribution to ensure wsl2 is available

* enforce 19041 as a minimum build number to run wsl
2025-10-17 18:00:41 +01:00
Maxime Coirault
1b40a3e20c Add multiple improvements to the pwsh script (#296)
* remove the usbstor logic entirely and intercept the WSL error specific to usb storage mounting failure

* modify disk number input to support numbers greater than 9

* check that apt properly installed git, else gracefully exit

* handle selecting a folder that belongs to the wsl filesystem
2025-10-02 16:23:20 +01:00
CosmicScale
7e22921987 Revert "add detection for disk under 200gb and usb drive or sdcard readers (#…" (#281)
This reverts commit 6ee7c0ba6b.
2025-09-21 00:35:05 +01:00
Maxime Coirault
6ee7c0ba6b add detection for disk under 200gb and usb drive or sdcard readers (#278) 2025-09-19 22:14:55 +01:00
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