mirror of
https://github.com/vale981/tridactyl
synced 2025-03-05 09:31:41 -05:00
Fix some minor typo and lint errors
This commit is contained in:
parent
527546bf23
commit
5878d8e6fd
2 changed files with 10 additions and 12 deletions
|
@ -141,11 +141,11 @@ function Set-InstallDir() {
|
|||
$result = Test-TridactylPath $messengerInstallDir
|
||||
if ($result -eq $true) {
|
||||
Write-Host `
|
||||
" - Create $messengerInstallDir successful!"
|
||||
" - Creating $messengerInstallDir was successful!"
|
||||
return $true
|
||||
} else {
|
||||
Write-Host `
|
||||
" - Create $messengerInstallDir failed, quitting ..."
|
||||
" - Creating $messengerInstallDir failed, quitting ..."
|
||||
exit -1
|
||||
}
|
||||
}
|
||||
|
@ -211,11 +211,11 @@ function Set-MessengerBin() {
|
|||
$result = Test-TridactylPath -Path $messengerBinPath
|
||||
if ($result -eq $true) {
|
||||
Write-Host `
|
||||
" - Create $messengerBinPath was successful!"
|
||||
" - Creating $messengerBinPath was successful!"
|
||||
return $true
|
||||
} else {
|
||||
Write-Host `
|
||||
" - Create $messengerBinPath failed, quitting ..."
|
||||
" - Creating $messengerBinPath failed, quitting ..."
|
||||
exit -1
|
||||
}
|
||||
}
|
||||
|
@ -248,13 +248,13 @@ call py -3 -u $messengerBinPath
|
|||
$result = Test-TridactylPath -Path $messengerBinWrapperPath
|
||||
if ($result -eq $true) {
|
||||
$msg = [string]::Format(
|
||||
" - Create {0} failed, was successful!",
|
||||
" - Creating {0} was successful!",
|
||||
$messengerBinWrapperPath)
|
||||
Write-Host $msg
|
||||
return $true
|
||||
} else {
|
||||
$msg = [string]::Format(
|
||||
" - Create {0} failed, quitting ...",
|
||||
" - Creating {0} failed, quitting ...",
|
||||
$messengerBinWrapperPath)
|
||||
Write-Host $msg
|
||||
exit -1
|
||||
|
@ -324,12 +324,12 @@ function Set-MessengerManifest() {
|
|||
|
||||
if ($result -eq $true) {
|
||||
$msg = [string]::Format(
|
||||
" - Create {0} was successful!",
|
||||
" - Creating {0} was successful!",
|
||||
$messengerManifestPath)
|
||||
Write-Host $msg
|
||||
} else {
|
||||
$msg = [string]::Format(
|
||||
" - Create {0} failed, quitting ...",
|
||||
" - Creating {0} failed, quitting ...",
|
||||
$messengerManifestPath)
|
||||
Write-Host $msg
|
||||
exit -1
|
||||
|
@ -387,8 +387,6 @@ function Get-MessengerManifestRegistryValue(){
|
|||
}
|
||||
|
||||
function Remove-MessengerManifestRegistry() {
|
||||
$messengerManifestPath = Get-MessengerManifestPath
|
||||
|
||||
$msg = [string]::Format("[+] Removing registry key {0} ...",
|
||||
$global:MessengerManifestRegistryPath)
|
||||
|
||||
|
|
|
@ -29,9 +29,9 @@ mkdir -p generated/static
|
|||
mkdir -p generated/static/clippy
|
||||
|
||||
if [ "$(isWindowsMinGW)" == "True" ]; then
|
||||
$WIN_PYTHON -3 scripts/excmds_macros.py
|
||||
$WIN_PYTHON scripts/excmds_macros.py
|
||||
else
|
||||
python3 scripts/excmds_macros.py
|
||||
scripts/excmds_macros.py
|
||||
fi
|
||||
scripts/newtab.md.sh
|
||||
scripts/make_tutorial.sh
|
||||
|
|
Loading…
Add table
Reference in a new issue