.
This commit is contained in:
parent
4b5e0297ac
commit
84f3642c6e
@ -77,6 +77,12 @@ echo.
|
|||||||
call install-git.cmd
|
call install-git.cmd
|
||||||
echo.
|
echo.
|
||||||
|
|
||||||
|
powershell -Command .\install-wterminal.ps1
|
||||||
|
echo.
|
||||||
|
|
||||||
|
call install-sublime.cmd
|
||||||
|
echo.
|
||||||
|
|
||||||
rem fuck you microsoft ...
|
rem fuck you microsoft ...
|
||||||
call install-openshell.cmd
|
call install-openshell.cmd
|
||||||
echo.
|
echo.
|
||||||
@ -127,7 +133,7 @@ rem ... stupid os problem #2
|
|||||||
call cleanup-startmenu.cmd
|
call cleanup-startmenu.cmd
|
||||||
echo.
|
echo.
|
||||||
|
|
||||||
rem ... remove ALL the stupid fucking microsoft TELEMiETRY BULLSHIT!
|
rem ... remove ALL the stupid fucking microsoft TELEMETRY BULLSHIT!
|
||||||
call uninstall-telemetry.cmd
|
call uninstall-telemetry.cmd
|
||||||
echo.
|
echo.
|
||||||
|
|
||||||
|
6
scripts/config/install-sublime.txt
Normal file
6
scripts/config/install-sublime.txt
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
[Setup]
|
||||||
|
Lang=default
|
||||||
|
Dir=C:\Program Files\Sublime Text 3
|
||||||
|
Group=Sublime Text
|
||||||
|
NoIcons=0
|
||||||
|
Tasks=contextentry
|
6
scripts/config/install-submerge.txt
Normal file
6
scripts/config/install-submerge.txt
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
[Setup]
|
||||||
|
Lang=default
|
||||||
|
Dir=C:\Program Files\Sublime Merge
|
||||||
|
Group=Sublime Merge
|
||||||
|
NoIcons=0
|
||||||
|
Tasks=
|
21
scripts/config/wcx_ftp.ini
Normal file
21
scripts/config/wcx_ftp.ini
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
[General]
|
||||||
|
ConnectRetries=10
|
||||||
|
WaitDelay=5
|
||||||
|
transfermode=I
|
||||||
|
LogFile=
|
||||||
|
FtpInBackground=0
|
||||||
|
ModeZ=1
|
||||||
|
[default]
|
||||||
|
pasvmode=1
|
||||||
|
[connections]
|
||||||
|
1=Netcup (hosting147976)
|
||||||
|
2=Hetzner (DUMBO)
|
||||||
|
default=Netcup (hosting147976)
|
||||||
|
[Hetzner (DUMBO)]
|
||||||
|
host=dumbo.exabyte.systems
|
||||||
|
username=u250063
|
||||||
|
pasvmode=1
|
||||||
|
[Netcup (hosting147976)]
|
||||||
|
host=www.exabyte-systems.com
|
||||||
|
username=hosting147976
|
||||||
|
pasvmode=1
|
99
scripts/config/wt-settings.json
Normal file
99
scripts/config/wt-settings.json
Normal file
@ -0,0 +1,99 @@
|
|||||||
|
// To view the default settings, hold "alt" while clicking on the "Settings" button.
|
||||||
|
// For documentation on these settings, see: https://aka.ms/terminal-documentation
|
||||||
|
{
|
||||||
|
"$schema": "https://aka.ms/terminal-profiles-schema",
|
||||||
|
"defaultProfile": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
|
||||||
|
"initialCols": 140,
|
||||||
|
"initialRows": 40,
|
||||||
|
"copyOnSelect": true,
|
||||||
|
"copyFormatting": false,
|
||||||
|
"profiles":
|
||||||
|
{
|
||||||
|
"defaults":
|
||||||
|
{
|
||||||
|
// Put settings here that you want to apply to all profiles.
|
||||||
|
},
|
||||||
|
"list":
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
|
||||||
|
"name": "Command Prompt",
|
||||||
|
"commandline": "cmd.exe /K c:\\scripts\\start-ssh-agent.cmd",
|
||||||
|
"cursorShape": "filledBox",
|
||||||
|
"startingDirectory": "%USERPROFILE%\\workspace",
|
||||||
|
"colorScheme": "CMDBOX",
|
||||||
|
"hidden": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
|
||||||
|
"name": "Windows PowerShell",
|
||||||
|
"commandline": "powershell.exe",
|
||||||
|
"cursorShape": "filledBox",
|
||||||
|
"startingDirectory": "%USERPROFILE%\\workspace",
|
||||||
|
"colorScheme": "POWERSHELL",
|
||||||
|
"hidden": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
|
||||||
|
"hidden": true,
|
||||||
|
"name": "Azure Cloud Shell",
|
||||||
|
"source": "Windows.Terminal.Azure"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"schemes": [
|
||||||
|
{
|
||||||
|
"name": "CMDBOX",
|
||||||
|
"foreground": "#CCCCCC",
|
||||||
|
"background": "#0C0C0C",
|
||||||
|
"cursorColor": "#3B78FF",
|
||||||
|
"black": "#0C0C0C",
|
||||||
|
"red": "#C50F1F",
|
||||||
|
"green": "#13A10E",
|
||||||
|
"yellow": "#C19C00",
|
||||||
|
"blue": "#0037DA",
|
||||||
|
"purple": "#881798",
|
||||||
|
"cyan": "#3A96DD",
|
||||||
|
"white": "#CCCCCC",
|
||||||
|
"brightBlack": "#767676",
|
||||||
|
"brightRed": "#E74856",
|
||||||
|
"brightGreen": "#16C60C",
|
||||||
|
"brightYellow": "#F9F1A5",
|
||||||
|
"brightBlue": "#3B78FF",
|
||||||
|
"brightPurple": "#B4009E",
|
||||||
|
"brightCyan": "#61D6D6",
|
||||||
|
"brightWhite": "#F2F2F2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "POWERSHELL",
|
||||||
|
"foreground": "#CCCCCC",
|
||||||
|
"background": "#012456",
|
||||||
|
"cursorColor": "#F9F1A5",
|
||||||
|
"black": "#0C0C0C",
|
||||||
|
"red": "#C50F1F",
|
||||||
|
"green": "#13A10E",
|
||||||
|
"yellow": "#C19C00",
|
||||||
|
"blue": "#0037DA",
|
||||||
|
"purple": "#881798",
|
||||||
|
"cyan": "#3A96DD",
|
||||||
|
"white": "#CCCCCC",
|
||||||
|
"brightBlack": "#767676",
|
||||||
|
"brightRed": "#E74856",
|
||||||
|
"brightGreen": "#16C60C",
|
||||||
|
"brightYellow": "#F9F1A5",
|
||||||
|
"brightBlue": "#3B78FF",
|
||||||
|
"brightPurple": "#B4009E",
|
||||||
|
"brightCyan": "#61D6D6",
|
||||||
|
"brightWhite": "#F2F2F2"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
|
||||||
|
"actions":
|
||||||
|
[
|
||||||
|
{ "command": {"action": "copy", "singleLine": false }, "keys": "ctrl+c" },
|
||||||
|
{ "command": "paste", "keys": "ctrl+v" },
|
||||||
|
{ "command": "find", "keys": "ctrl+shift+f" },
|
||||||
|
{ "command": { "action": "splitPane", "split": "auto", "splitMode": "duplicate" }, "keys": "alt+shift+d" }
|
||||||
|
]
|
||||||
|
}
|
@ -28,10 +28,26 @@ echo set desktop colour ...
|
|||||||
echo starting BGInfo ...
|
echo starting BGInfo ...
|
||||||
%TOOLS%\bginfo\bginfo64.exe %TOOLS%\bginfo\config.bgi /NOLICPROMPT /silent /timer:0
|
%TOOLS%\bginfo\bginfo64.exe %TOOLS%\bginfo\config.bgi /NOLICPROMPT /silent /timer:0
|
||||||
|
|
||||||
echo creating some directories and files for current user ...
|
|
||||||
|
rem ######
|
||||||
|
rem ###
|
||||||
|
echo creating some directories and copy files for current user ...
|
||||||
|
|
||||||
|
rem SSH
|
||||||
mkdir %USERPROFILE%\workspace 1>nul 2>nul
|
mkdir %USERPROFILE%\workspace 1>nul 2>nul
|
||||||
mkdir %USERPROFILE%\.ssh 1>nul 2>nul
|
mkdir %USERPROFILE%\.ssh 1>nul 2>nul
|
||||||
copy /Y %TOOLS%\scripts\config\ssh_config.txt %USERPROFILE%\.ssh\config
|
xcopy /D %TOOLS%\scripts\config\ssh-config.txt %USERPROFILE%\.ssh\config
|
||||||
|
|
||||||
|
rem WINDOWS TERMINAL
|
||||||
|
xcopy /D %TOOLS%\scripts\config\wt-settings.json ^
|
||||||
|
%LOCALAPPDATA%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json
|
||||||
|
|
||||||
|
rem TOTALCOMMANDER
|
||||||
|
xcopy /D %TOOLS%\scripts\config\wcx_ftp.ini %windir%
|
||||||
|
|
||||||
|
rem ###
|
||||||
|
rem ######
|
||||||
|
|
||||||
|
|
||||||
echo start workstation service ...
|
echo start workstation service ...
|
||||||
net start workstation 1>nul 2>nul
|
net start workstation 1>nul 2>nul
|
||||||
|
BIN
scripts/icons/Sublime.lnk
Normal file
BIN
scripts/icons/Sublime.lnk
Normal file
Binary file not shown.
@ -3,7 +3,7 @@
|
|||||||
set SCRIPTS=..\scripts
|
set SCRIPTS=..\scripts
|
||||||
set SOFTWARE=..\software
|
set SOFTWARE=..\software
|
||||||
|
|
||||||
set MSI=emclient-v8.1.979.msi
|
set MSI=emclient-v8.1.1054.msi
|
||||||
|
|
||||||
echo ####### %0 #######
|
echo ####### %0 #######
|
||||||
|
|
||||||
|
22
scripts/install-sublime.cmd
Normal file
22
scripts/install-sublime.cmd
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
@echo off
|
||||||
|
|
||||||
|
set CONFIG1=config\install-sublime.txt
|
||||||
|
set EXE1=..\software\sublime_text_build_3211_x64_Setup.exe
|
||||||
|
|
||||||
|
set CONFIG2=config\install-submerge.txt
|
||||||
|
set EXE2=..\software\sublime_merge_build_2039_x64_setup.exe
|
||||||
|
|
||||||
|
echo ####### %0 #######
|
||||||
|
|
||||||
|
echo killing sublime processes...
|
||||||
|
taskkill /F /IM sublime_text.exe 2>nul
|
||||||
|
taskkill /F /IM sublime_merge.exe 2>nul
|
||||||
|
|
||||||
|
echo installing SUBLIME TEXT ...
|
||||||
|
%EXE1% /LOADINF=%CONFIG1% /NORESTART /NOCANCEL /SILENT /SUPPRESSMSGBOXES /CLOSEAPPLICATIONS
|
||||||
|
|
||||||
|
echo installing SUBLIME MERGE ...
|
||||||
|
%EXE2% /LOADINF=%CONFIG2% /NORESTART /NOCANCEL /SILENT /SUPPRESSMSGBOXES /CLOSEAPPLICATIONS
|
||||||
|
|
||||||
|
echo ####### %0 #######
|
||||||
|
|
13
scripts/install-wterminal.ps1
Normal file
13
scripts/install-wterminal.ps1
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# Install Windows Terminal ...
|
||||||
|
|
||||||
|
$MSIBUNDLE="..\software\Microsoft.WindowsTerminal_1.4.3243.0_8wekyb3d8bbwe.msixbundle"
|
||||||
|
|
||||||
|
write-host '#######',(split-path $PSCommandPath -Leaf),'#######'
|
||||||
|
|
||||||
|
$ErrorActionPreference = "SilentlyContinue"
|
||||||
|
# $progressPreference = 'SilentlyContinue'
|
||||||
|
|
||||||
|
Add-AppXPackage -path "$MSIBUNDLE"
|
||||||
|
|
||||||
|
write-host '#######',(split-path $PSCommandPath -Leaf),'#######'
|
||||||
|
|
@ -4,7 +4,7 @@ echo ####### %0 #######
|
|||||||
|
|
||||||
echo setting PATH variable (for all users) ...
|
echo setting PATH variable (for all users) ...
|
||||||
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" ^
|
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" ^
|
||||||
/d "%SYSTEMROOT%;%SYSTEMROOT%\system32;%SYSTEMROOT%\system32\wbem;%SYSTEMROOT%\system32\WindowsPowerShell\v1.0;%TOOLS%;%TOOLS%\git\bin;%TOOLS%\git\usr\bin;%TOOLS%\notepad++" ^
|
/d "%SYSTEMROOT%;%SYSTEMROOT%\system32;%SYSTEMROOT%\system32\wbem;%SYSTEMROOT%\system32\WindowsPowerShell\v1.0;%LOCALAPPDATA%\Microsoft\WindowsApps;%TOOLS%;%TOOLS%\git\bin;%TOOLS%\git\usr\bin;%TOOLS%\notepad++" ^
|
||||||
/v PATH /t REG_EXPAND_SZ /f
|
/v PATH /t REG_EXPAND_SZ /f
|
||||||
|
|
||||||
echo ####### %0 #######
|
echo ####### %0 #######
|
||||||
|
2
software/.gitignore
vendored
2
software/.gitignore
vendored
@ -2,4 +2,4 @@
|
|||||||
*.msi
|
*.msi
|
||||||
*.xpi
|
*.xpi
|
||||||
*.zip
|
*.zip
|
||||||
|
*.msixbundle
|
||||||
|
Loading…
Reference in New Issue
Block a user