Update script descriptions for consistency
This commit is contained in:
parent
fa6183379e
commit
e750a9c66d
29 changed files with 35 additions and 35 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
:: Wizard Kit: Wrapper for launching programs and scripts.
|
:: WizardKit: Wrapper for launching programs and scripts.
|
||||||
::
|
::
|
||||||
:: Some features:
|
:: Some features:
|
||||||
:: * If the OS is 64-bit then the WorkingDir is scanned for a 64-bit version of the programs
|
:: * If the OS is 64-bit then the WorkingDir is scanned for a 64-bit version of the programs
|
||||||
|
|
@ -10,7 +10,7 @@ if defined DEBUG (@echo on)
|
||||||
|
|
||||||
:Init
|
:Init
|
||||||
setlocal EnableDelayedExpansion
|
setlocal EnableDelayedExpansion
|
||||||
title Wizard Kit: Launcher
|
title WizardKit: Launcher
|
||||||
pushd "%~dp0"
|
pushd "%~dp0"
|
||||||
call :FindBin
|
call :FindBin
|
||||||
call :DeQuote L_ITEM
|
call :DeQuote L_ITEM
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
:: Wizard Kit: Launcher Script ::
|
:: WizardKit: Launcher Script ::
|
||||||
::
|
::
|
||||||
:: This script works by setting env variables and then calling Launch.cmd
|
:: This script works by setting env variables and then calling Launch.cmd
|
||||||
:: which inherits the variables. This bypasses batch file argument parsing
|
:: which inherits the variables. This bypasses batch file argument parsing
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
:Init
|
:Init
|
||||||
setlocal EnableDelayedExpansion
|
setlocal EnableDelayedExpansion
|
||||||
title Wizard Kit: Launcher
|
title WizardKit: Launcher
|
||||||
call :CheckFlags %*
|
call :CheckFlags %*
|
||||||
call :FindBin
|
call :FindBin
|
||||||
call :SetTitle Launcher
|
call :SetTitle Launcher
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
## Wizard Kit: Apple fan speed tool
|
## WizardKit: Apple fan speed tool
|
||||||
|
|
||||||
SMCPATH="/sys/devices/platform/applesmc.768"
|
SMCPATH="/sys/devices/platform/applesmc.768"
|
||||||
SET_MAX="True"
|
SET_MAX="True"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
"""Wizard Kit: Auto Repair Tool"""
|
"""WizardKit: Auto Repair Tool"""
|
||||||
# vim: sts=2 sw=2 ts=2
|
# vim: sts=2 sw=2 ts=2
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
"""Wizard Kit: Auto System Setup Tool"""
|
"""WizardKit: Auto System Setup Tool"""
|
||||||
# vim: sts=2 sw=2 ts=2
|
# vim: sts=2 sw=2 ts=2
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
"""Wizard Kit: Build UFD Tool"""
|
"""WizardKit: Build UFD Tool"""
|
||||||
# vim: sts=2 sw=2 ts=2
|
# vim: sts=2 sw=2 ts=2
|
||||||
|
|
||||||
import wk
|
import wk
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
"""Wizard Kit: Build Kit (Windows)."""
|
"""WizardKit: Build Kit (Windows)."""
|
||||||
# vim: sts=2 sw=2 ts=2
|
# vim: sts=2 sw=2 ts=2
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
## Wizard Kit: ddrescue TUI Launcher
|
## WizardKit: ddrescue TUI Launcher
|
||||||
|
|
||||||
__OS_NAME="$(uname -s)"
|
__OS_NAME="$(uname -s)"
|
||||||
if [[ "$__OS_NAME" == "Darwin" ]]; then
|
if [[ "$__OS_NAME" == "Darwin" ]]; then
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
"""Wizard Kit: ddrescue TUI"""
|
"""WizardKit: ddrescue TUI"""
|
||||||
# pylint: disable=invalid-name
|
# pylint: disable=invalid-name
|
||||||
# vim: sts=2 sw=2 ts=2
|
# vim: sts=2 sw=2 ts=2
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
## Wizard Kit: "echo" text to screen and "hold" by waiting for user input
|
## WizardKit: "echo" text to screen and "hold" by waiting for user input
|
||||||
|
|
||||||
function usage {
|
function usage {
|
||||||
echo "Usage: $(basename "$0") \"text\""
|
echo "Usage: $(basename "$0") \"text\""
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
# Wizard Kit: Get RAW disks
|
# WizardKit: Get RAW disks
|
||||||
|
|
||||||
Get-Disk | Where-Object {$_.PartitionStyle -eq "RAW"} | Select FriendlyName,Size,PartitionStyle | ConvertTo-JSON
|
Get-Disk | Where-Object {$_.PartitionStyle -eq "RAW"} | Select FriendlyName,Size,PartitionStyle | ConvertTo-JSON
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
## Wizard Kit: HW Diagnostics Launcher
|
## WizardKit: HW Diagnostics Launcher
|
||||||
|
|
||||||
source launch-in-tmux
|
source launch-in-tmux
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
"""Wizard Kit: Hardware Diagnostics"""
|
"""WizardKit: Hardware Diagnostics"""
|
||||||
# pylint: disable=invalid-name
|
# pylint: disable=invalid-name
|
||||||
# vim: sts=2 sw=2 ts=2
|
# vim: sts=2 sw=2 ts=2
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
"""Wizard Kit: Hardware Sensors"""
|
"""WizardKit: Hardware Sensors"""
|
||||||
# vim: sts=2 sw=2 ts=2
|
# vim: sts=2 sw=2 ts=2
|
||||||
|
|
||||||
import platform
|
import platform
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
:: Wizard Kit: Create client_dir folder(s)
|
:: WizardKit: Create client_dir folder(s)
|
||||||
|
|
||||||
@echo off
|
@echo off
|
||||||
if defined DEBUG (@echo on)
|
if defined DEBUG (@echo on)
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
## Wizard Kit: TMUX Launcher
|
## WizardKit: TMUX Launcher
|
||||||
|
|
||||||
# Live macOS env workaround
|
# Live macOS env workaround
|
||||||
tmux_args=()
|
tmux_args=()
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
"""Wizard Kit: Mount all volumes"""
|
"""WizardKit: Mount all volumes"""
|
||||||
# vim: sts=2 sw=2 ts=2
|
# vim: sts=2 sw=2 ts=2
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
"""Wizard Kit: Mount Backup Shares"""
|
"""WizardKit: Mount Backup Shares"""
|
||||||
# pylint: disable=invalid-name
|
# pylint: disable=invalid-name
|
||||||
# vim: sts=2 sw=2 ts=2
|
# vim: sts=2 sw=2 ts=2
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
## Wizard Kit: RAW image mounting tool
|
## WizardKit: RAW image mounting tool
|
||||||
|
|
||||||
set -o errexit
|
set -o errexit
|
||||||
set -o errtrace
|
set -o errtrace
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/python3
|
#!/bin/python3
|
||||||
#
|
#
|
||||||
## Wizard Kit: MS Word content search tool
|
## WizardKit: MS Word content search tool
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
## Wizard Kit: Update pacman settings to usage in live sessions
|
## WizardKit: Update pacman settings to usage in live sessions
|
||||||
|
|
||||||
# Disable custom repo (used at build-time)
|
# Disable custom repo (used at build-time)
|
||||||
sudo sed -i -r "s/^(\[custom\])/#\1/" /etc/pacman.conf
|
sudo sed -i -r "s/^(\[custom\])/#\1/" /etc/pacman.conf
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
## Wizard Kit: Volume remount tool
|
## WizardKit: Volume remount tool
|
||||||
|
|
||||||
if ! mount | grep -q "$1"; then
|
if ! mount | grep -q "$1"; then
|
||||||
echo "ERROR: Can't remount $1"
|
echo "ERROR: Can't remount $1"
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
"""Wizard Kit: Unmount Backup Shares"""
|
"""WizardKit: Unmount Backup Shares"""
|
||||||
# pylint: disable=invalid-name
|
# pylint: disable=invalid-name
|
||||||
# vim: sts=2 sw=2 ts=2
|
# vim: sts=2 sw=2 ts=2
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
# vim: sts=2 sw=2 ts=2
|
# vim: sts=2 sw=2 ts=2
|
||||||
"""Wizard Kit: Upload Logs"""
|
"""WizardKit: Upload Logs"""
|
||||||
|
|
||||||
import datetime
|
import datetime
|
||||||
import os
|
import os
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
#
|
#
|
||||||
## Wizard Kit: Live Linux Build Tool
|
## WizardKit: Live Linux Build Tool
|
||||||
|
|
||||||
set -o errexit
|
set -o errexit
|
||||||
set -o errtrace
|
set -o errtrace
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
:: Wizard Kit: Windows PE Build Tool Launcher ::
|
:: WizardKit: Windows PE Build Tool ::
|
||||||
|
|
||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
:Init
|
:Init
|
||||||
setlocal EnableDelayedExpansion
|
setlocal EnableDelayedExpansion
|
||||||
title Wizard Kit: Windows PE Build Tool
|
title WizardKit: Windows PE Build Tool
|
||||||
call :CheckFlags %*
|
call :CheckFlags %*
|
||||||
call :CheckElevation || goto Exit
|
call :CheckElevation || goto Exit
|
||||||
call :FindKitsRoot || goto ErrorKitNotFound
|
call :FindKitsRoot || goto ErrorKitNotFound
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
:: Wizard Kit: Build Tool Launcher ::
|
:: WizardKit: Windows Kit Build Tool ::
|
||||||
|
|
||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
:Init
|
:Init
|
||||||
setlocal EnableDelayedExpansion
|
setlocal EnableDelayedExpansion
|
||||||
pushd "%~dp0"
|
pushd "%~dp0"
|
||||||
title Wizard Kit: Build Tool
|
title WizardKit: Build Tool
|
||||||
call :CheckFlags %*
|
call :CheckFlags %*
|
||||||
|
|
||||||
:SetVariables
|
:SetVariables
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ HIST_STAMPS="yyyy-mm-dd"
|
||||||
plugins=(archlinux git sudo systemd tmux)
|
plugins=(archlinux git sudo systemd tmux)
|
||||||
source $ZSH/oh-my-zsh.sh
|
source $ZSH/oh-my-zsh.sh
|
||||||
|
|
||||||
# Wizard Kit
|
# WizardKit
|
||||||
. $HOME/.aliases
|
. $HOME/.aliases
|
||||||
eval $(dircolors ~/.dircolors)
|
eval $(dircolors ~/.dircolors)
|
||||||
export PYTHONPATH="/usr/local/bin"
|
export PYTHONPATH="/usr/local/bin"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Wizard Kit: Build base kit
|
# WizardKit: Build base kit
|
||||||
|
|
||||||
## Init ##
|
## Init ##
|
||||||
#Requires -Version 3.0
|
#Requires -Version 3.0
|
||||||
|
|
@ -10,7 +10,7 @@ Param(
|
||||||
if (Test-Path Env:\DEBUG) {
|
if (Test-Path Env:\DEBUG) {
|
||||||
Set-PSDebug -Trace 1
|
Set-PSDebug -Trace 1
|
||||||
}
|
}
|
||||||
$Host.UI.RawUI.WindowTitle = "Wizard Kit: Build Tool"
|
$Host.UI.RawUI.WindowTitle = "WizardKit: Build Tool"
|
||||||
$WD = Split-Path $MyInvocation.MyCommand.Path | Get-Item
|
$WD = Split-Path $MyInvocation.MyCommand.Path | Get-Item
|
||||||
$Root = Get-Item "$KitPath"
|
$Root = Get-Item "$KitPath"
|
||||||
$Bin = Get-Item "$($Root.FullName)\.bin" -Force
|
$Bin = Get-Item "$($Root.FullName)\.bin" -Force
|
||||||
|
|
@ -77,7 +77,7 @@ if ($PSVersionTable.PSVersion.Major -eq 6 -and $PSVersionTable.OS -imatch "Windo
|
||||||
# Answer by: https://stackoverflow.com/users/696808/bacon-bits
|
# Answer by: https://stackoverflow.com/users/696808/bacon-bits
|
||||||
if ($MyInvocation.InvocationName -ne ".") {
|
if ($MyInvocation.InvocationName -ne ".") {
|
||||||
Clear-Host
|
Clear-Host
|
||||||
Write-Host "Wizard Kit: Build Tool`n`n`n`n`n"
|
Write-Host "WizardKit: Build Tool`n`n`n`n`n"
|
||||||
|
|
||||||
## Sources ##
|
## Sources ##
|
||||||
$Sources = Get-Content -Path "$WD\sources.json" | ConvertFrom-JSON
|
$Sources = Get-Content -Path "$WD\sources.json" | ConvertFrom-JSON
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue