Compare commits
No commits in common. "ff4e71dbde65dddd9ebed41bb3552a791cef710e" and "b9ec0eb3ba837b370e0336210d9cc22fd245f1f6" have entirely different histories.
ff4e71dbde
...
b9ec0eb3ba
11
README.md
11
README.md
@ -31,12 +31,5 @@ You'll get 5 menu options. Use the ones that make sense.
|
|||||||
|
|
||||||
## Planned Features ##
|
## Planned Features ##
|
||||||
|
|
||||||
* Install NFS Client features
|
Install NFS Client features
|
||||||
* Map my typical network driver?
|
Map my typical network driver?
|
||||||
* Create SSH KEY
|
|
||||||
* Start SSH Agent
|
|
||||||
* Open notepad with instructions to where to put ssh key, possibly log as well?
|
|
||||||
* .alias file created and filled with some things?
|
|
||||||
* Syu
|
|
||||||
* Touch
|
|
||||||
* Other Linux type mappings?
|
|
||||||
|
24
setup.ps1
24
setup.ps1
@ -63,11 +63,27 @@ function Update-Profile {
|
|||||||
$URL="https://git.theflyingfool.com/theflyingfool/Win_Setup/raw/branch/main/CopyFromFile.txt"
|
$URL="https://git.theflyingfool.com/theflyingfool/Win_Setup/raw/branch/main/CopyFromFile.txt"
|
||||||
$PATH="$PWD\CopyFromFile.txt"
|
$PATH="$PWD\CopyFromFile.txt"
|
||||||
if (-not (Test-Path ./CopyFromFile.txt)) { (New-Object System.Net.WebClient).DownloadFile($URL, $PATH) }
|
if (-not (Test-Path ./CopyFromFile.txt)) { (New-Object System.Net.WebClient).DownloadFile($URL, $PATH) }
|
||||||
|
# Get-Content -Path $PROFILE
|
||||||
$CheckString = Get-Content -Path .\CopyFromFile.txt
|
$CheckString = Get-Content -Path .\CopyFromFile.txt
|
||||||
if (-not(Select-String -Quiet -Path $PROFILE -Pattern $CheckString)) {Get-Content -Path .\CopyFromFile.txt | Add-Content -Path $PROFILE}
|
if (-not(Select-String -Quiet -Path $PROFILE -Pattern $CheckString)) {Get-Content -Path .\CopyFromFile.txt | Add-Content -Path $PROFILE}
|
||||||
|
# Get-Content -Path $PROFILE
|
||||||
|
|
||||||
|
#>
|
||||||
|
<#
|
||||||
|
Write-Output '
|
||||||
|
|
||||||
|
Register-ArgumentCompleter -Native -CommandName winget -ScriptBlock {
|
||||||
|
param($wordToComplete, $commandAst, $cursorPosition)
|
||||||
|
[Console]::InputEncoding = [Console]::OutputEncoding = $OutputEncoding = [System.Text.Utf8Encoding]::new()
|
||||||
|
$Local:word = $wordToComplete.Replace('"', '""')
|
||||||
|
$Local:ast = $commandAst.ToString().Replace('"', '""')
|
||||||
|
winget complete --word="$Local:word" --commandline "$Local:ast" --position $cursorPosition | ForEach-Object {
|
||||||
|
[System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterValue', $_)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}' >> $PROFILE
|
||||||
|
|
||||||
|
#>
|
||||||
}
|
}
|
||||||
|
|
||||||
do {
|
do {
|
||||||
@ -103,7 +119,6 @@ do {
|
|||||||
@{name = 'Microsoft.WindowsTerminal'},
|
@{name = 'Microsoft.WindowsTerminal'},
|
||||||
@{name = 'Microsoft.PowerToys' },
|
@{name = 'Microsoft.PowerToys' },
|
||||||
@{name = 'Git.Git' },
|
@{name = 'Git.Git' },
|
||||||
@{name =' ApacheFriends.Xampp.8.2'},
|
|
||||||
@{name = 'Google.Chrome' },
|
@{name = 'Google.Chrome' },
|
||||||
@{name = 'TorProject.TorBrowser'},
|
@{name = 'TorProject.TorBrowser'},
|
||||||
@{name = 'Google.GoogleDrive' },
|
@{name = 'Google.GoogleDrive' },
|
||||||
@ -117,10 +132,9 @@ do {
|
|||||||
@{name = 'PointPlanck.FileBot' },
|
@{name = 'PointPlanck.FileBot' },
|
||||||
@{name = 'Oracle.VirtualBox' },
|
@{name = 'Oracle.VirtualBox' },
|
||||||
@{name = 'NordSecurity.NordVPN' },
|
@{name = 'NordSecurity.NordVPN' },
|
||||||
@{name = '9wzdncrf0083'}, #Facebook messenger
|
# @{name = 'Facebook.Messenger' }, # Cant find via winget anymore?
|
||||||
@{name = 'Microsoft.Office' },
|
@{name = 'Microsoft.Office' },
|
||||||
@{name = 'Malwarebytes.Malwarebytes '},
|
@{name = 'Malwarebytes.Malwarebytes '}
|
||||||
@{name = 'Google.AndroidStudio'}
|
|
||||||
)
|
)
|
||||||
|
|
||||||
InstallTheApps $Apps
|
InstallTheApps $Apps
|
||||||
|
Loading…
Reference in New Issue
Block a user