vault backup: 2025-04-23 13:51:10

Affected files:
21.02. Windows/Windows 11 重灌.md
22.01. 軟體工具、設定/Windows Terminal.md
This commit is contained in:
2025-04-23 13:51:10 +08:00
parent 979a667633
commit 738a9842e2
2 changed files with 95 additions and 255 deletions

View File

@@ -8,11 +8,12 @@
# 安裝工具
## 安裝 Chocolatey
1. 安裝[Chocolatey](https://chocolatey.org/)用Administrator身份打開powershell輸入下列指令
安裝[Chocolatey](https://chocolatey.org/)用Administrator身份打開powershell輸入下列指令
```
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
```
2. 用安裝常用的工具
## 用 Chocolatey 安裝工具
```
choco install powertoys 7zip vscode hxd sublimetext4 androidstudio intellijidea-community git winmerge freefilesync freedownloadmanager gsudo firacode cascadiacode sourcecodepro delta googlechrome googledrive enpass.install sharex win32diskimager k-litecodecpackmega obsidian anki enpass.install --yes
```
@@ -20,7 +21,6 @@ choco install powertoys 7zip vscode hxd sublimetext4 androidstudio intellijidea-
可以在 [https://community.chocolatey.org/packages](https://community.chocolatey.org/packages) 找到其他工具,再加到清單後面即可。
上面的指令安裝了下列的軟體,可以依自己需求增刪:
- [powertoys](https://community.chocolatey.org/packages/powertoys)
- [7zip](https://community.chocolatey.org/packages/7zip)
- [vscode](https://community.chocolatey.org/packages/vscode)
@@ -53,7 +53,7 @@ choco install powertoys 7zip vscode hxd sublimetext4 androidstudio intellijidea-
choco upgrade all -y
```
## 手動安裝
# 手動安裝
3. Python 3.6.3
4. Python 3.9
7. Visual Studio 2022
@@ -64,20 +64,22 @@ choco upgrade all -y
13. [卡巴斯基](https://www.kaspersky.com.tw/)
14. 字型
- [Caskaydia](\\diskstation\share\Tools\字型\Caskaydia Cove Nerd Font\)
15. 安裝 [`wget`](https://eternallybored.org/misc/wget/)
1. [Version 1.21.4](https://eternallybored.org/misc/wget/1.21.4/64/wget.exe)
## `~/.bashrc`
# `~/.bashrc`
1. 打開`~/.bashrc`
2. 內容如[[bashrc|bashrc]]
## Setup Windows Terminal
# Setup Windows Terminal
1. 開啟Windows Terminal。
2.`ctrl + ,`打開設定,之後參考[[Windows Terminal]]。
## 恢復右鍵選單
# 恢復右鍵選單
- 以admin身份打開PowerShell執行 `reg add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve`
- 要恢復Windows 11的右鍵選單則是執行`reg delete "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}" /f`
## 設定使用者環境變數
# 設定使用者環境變數
- `PYTHON_INCLUDE`: `C:\Python363\include`
- `PYTHON_LIB`: `C:\Python363\libs`
- `RobotRunCommonLib`: `C:\SynologyDrive\codes\CommonLib\RobotRunCommonLib`