Updated pseudo list with TODOs and added mksubdirs

This commit is contained in:
camoy 2024-11-08 23:26:48 -08:00
parent 20c3911e49
commit 9ee9b4a9ab
2 changed files with 18 additions and 12 deletions

View File

@ -11,9 +11,9 @@
--- D:\ consumes remaining disk - scripts/unattend/autounattend.xml
--- Correct OS version - scripts/ps/syscheck.ps1
--- Valid product key check - scripts/ps/syscheck.ps1
- User prompts - TODO
--- Specify monitor resolution - TODO
--- Specify control type, number of buttons, joysticks - TODO
- User prompts
--- Specify monitor resolution
--- Specify control type
- Begin install process
--- Create restore point for C:\ - scripts/ps/makerespt.ps1
- OS Configuration
@ -46,11 +46,11 @@
----- Delete C:\sctools - scripts/ps/uninstall.ps1
--- Download game database - scripts/ps/install.ps1
--- Extract/install utilities & drivers - scripts/ps/install.ps1
--- Copy game content from external storage - scripts/ahk/usbwatch.ahk
----- Scan for *.exe filenames - scripts/ahk/usbwatch.ahk
------- Create folders under C:\sc\content\ based on file names found - scripts/ahk/usbwatch.ahk
--------- Write list of exes to disk - scripts/ahk/usbwatch.ahk
--------- Text processing - scripts/ahk/usbwatch.ahk
--------- Create directories - scripts/ahk/usbwatch.ahk
--- Copy game content from external storage - scripts/ahk/usbwatch.ahk - TODO
----- Scan for *.exe filenames - scripts/ahk/usbwatch.ahk - TODO
------- Create folders under C:\sc\content\ based on file names found - scripts/ahk/usbwatch.ahk - TODO
--------- Write list of exes to disk - scripts/ahk/usbwatch.ahk - TODO
--------- Text processing - scripts/ahk/usbwatch.ahk - TODO
--------- Create directories - scripts/ahk/usbwatch.ahk - TODO
--- Enable Unified File Writer - scripts/ps/startuwf.ps1
----- Create recommit script to write changes to disk - scripts/ps/stopuwf.ps1

View File

@ -1,6 +1,6 @@
Write-Host "---Create Directories---"
New-Item -Path "C:\sc" -Name "tools" -ItemType "Directory"
if ( ?$ -ne True )
if ( $? -ne $True )
{
Write-Host "SC-DIR-ERR001: CANNOT CREATE NEEDED DIRECTORIES"
Write-Host "Creating the following directories has failed."
@ -10,12 +10,18 @@ New-Item -Path "C:\sc" -Name "tools" -ItemType "Directory"
Exit 1
}
New-Item -Path "C:\sc" -Name "content" -ItemType "Directory"
if ( ?$ -ne True )
if ( $? -ne $True )
{
Write-Host "SC-DIR-ERR001: CANNOT CREATE NEEDED DIRECTORIES"
Write-Host "SC-DIR-ERR002: CANNOT CREATE NEEDED DIRECTORIES"
Write-Host "Creating the following directories has failed."
Write-Host "C:\sc\content"
Write-Host "Unable to continue. Please check that these locations are writable and that they do not already exist."
Start-Sleep -Seconds 60
Exit 1
}
Write-Host "---Create Subdirectories---"
New-Item -Path "C:\sc\tools" -Name "git" -ItemType "Directory"
New-Item -Path "C:\sc\tools" -Name "cru" -ItemType "Directory"
New-Item -Path "C:\sc\tools" -Name "antimicrox" -ItemType "Directory"
New-Item -Path "C:\sc\tools" -Name "attractmode" -ItemType "Directory"
New-Item -Path "C:\sc\tools" -Name "fastio2kb" -ItemType "Directory"