1766818506
This commit is contained in:
@@ -5,13 +5,13 @@
|
||||
$media_viewer_dir_wsl="/mnt/c/Users/human/OneDrive/Documents/Git/Media-Viewer"
|
||||
|
||||
# select for nuke mode
|
||||
# if($args[0] -eq "NUKE") {
|
||||
# Write-Host "`nNUKE MODE ACTIVATED`n"
|
||||
# $nuke = $True
|
||||
# } else {
|
||||
# Write-Host "`nNormal Mode Activated`n"
|
||||
# $nuke = $False
|
||||
# }
|
||||
if($args[0] -eq "NUKE") {
|
||||
Write-Host "`nNUKE MODE ACTIVATED`n"
|
||||
$nuke = $True
|
||||
} else {
|
||||
Write-Host "`nNormal Mode Activated`n"
|
||||
$nuke = $False
|
||||
}
|
||||
|
||||
Write-Host "`nSillyfillyy synching media loleen`n"
|
||||
|
||||
@@ -27,8 +27,13 @@ Write-Host "`nSillyfillyy synching media loleen`n"
|
||||
# do da synchiedink
|
||||
Write-Host "`n`bPERFORMING THE DILDOSYNC`n`n"
|
||||
# wsl bash $media_viewer_dir_wsl/copy_local_wsl.sh
|
||||
wsl bash $media_viewer_dir_wsl/dildo_new_full_sync_total.sh
|
||||
Write-Host "`n`nDILDOSYNC COMPLETE`n`tMAY GOD HAVE MERCY ON YOUR SOUL`n`n"
|
||||
if($nuke) {
|
||||
Write-Host "`nrunning sync with NUKE`n"
|
||||
wsl bash $media_viewer_dir_wsl/dildo_new_full_sync_total.sh NUKE
|
||||
} else {
|
||||
Write-Host "`nNormal sync`n"
|
||||
wsl bash $media_viewer_dir_wsl/dildo_new_full_sync_total.sh
|
||||
}
|
||||
|
||||
# Write-Host "`nDoing the syncy dink`n"
|
||||
# # wsl -d kali-wsl "\$(whoami) \$(uname -a)" # debug
|
||||
@@ -48,12 +53,13 @@ Write-Host "`n`nDILDOSYNC COMPLETE`n`tMAY GOD HAVE MERCY ON YOUR SOUL`n`n"
|
||||
Write-Host "`nRunning esp-idf-tools update`n"
|
||||
if($nuke) {
|
||||
Write-Host "`nNUKING esp-idf-tools update`n"
|
||||
ssh pi3 "bash /home/princesspi/esp/esp-idf-tools/esp-idf-tools-cmd.sh n"
|
||||
ssh pi3 "bash /home/princesspi/esp/esp-idf-tools/esp-idf-tools-cmd.sh nr"
|
||||
} else {
|
||||
Write-Host "`nNormal esp-idf-tools update`n"
|
||||
ssh pi3 "bash /home/princesspi/esp/esp-idf-tools/esp-idf-tools-cmd.sh"
|
||||
}
|
||||
|
||||
|
||||
# reboot pi3 to apply updates
|
||||
# if($nuke) {
|
||||
# Write-Host "`nNUKING reboot of pi3 to apply updates`n"
|
||||
|
||||
Reference in New Issue
Block a user