$ps='' # 請先設定命令
irm -Uri https://gitlab.com/api/v4/projects/58360840/repository/files/$ps/raw | iex
(iwr https://raw.githubusercontent.com/kiloath/Installer/main/$ps -useb).Content | iex
powershell -ExecutionPolicy ByPass -c "irm https://kiloath.github.io/Installer/$ps | iex"
$ps='export_crt.ps1'
$ps='set_windows.ps1'
$ps='install_vcbuildtools.ps1' # Visual C++ 編譯環境安裝
$ps='install_vs2022community.ps1' # Visual Studio 2022 Community
$ps='install_docker.ps1' # docker
$v='28.0.1';$ps='install_docker.ps1' # docker
$ps='install_rancherdesktop_latest.ps1' # Rancher Desktop
$ps='bundle_git_latest.ps1' # (1) git, (2) notepad++, (3) winmerge, (4) git_setup
$ps='bundle_freecommanderxe.ps1' # (1) vscode, (2) freecommanderxe
$ps='allinone_dev.ps1'
$v='4.6';$ps='install_rufus.ps1' # Rufus
$v='24.8.2';$ps='install_libreoffice.ps1' # LibreOffice
$v='6.2.1.4610';$ps='install_sonarscanner.ps1' # sonar-scanner cli
$ps='install_anyburn_always.ps1' # AnyBurn
$ps='install_powershell7_latest.ps1' # powershell 7
$ps='install_powershell7_setup.ps1' # powershell 7 客製
$ps='install_7zr.ps1'
$ps='install_7zip.ps1'
$ps='install_git_latest.ps1'
$ps='install_tortoisegit.ps1'
$ps='install_freecommanderxe_always.ps1'
$ps='install_powertoys.ps1'
$ps='install_synologychat.ps1'
$ps='install_dotnet-install.ps1'
$ps='install_sharex_latest.ps1' # 抓圖及錄桌面
$ps='install_obs.ps1' # 專業錄桌面
$ps='install_krita.ps1' # 繪圖
$ps='install_imageglass_latest.ps1' # 秀圖
$ps='install_drawio_latest.ps1' # 向量流程圖
$ps='install_shotcut_latest.ps1' # 影像編輯
$ps='install_shotcut_v22.ps1' # 支援雙螢幕
$ps='install_vidcoder_latest.ps1' # 影片壓縮
$ps='install_arctime.ps1' # 字幕
$v='3.0.21';$ps='install_vlc.ps1' # 播放器
$ps='install_mpc-be_latest.ps1' # 播放器
$ps='install_notepad++_latest.ps1' # 文字編輯器
$ps='install_sarasa.ps1' # 更紗黑體
$ps='install_tiddlydesktop_latest.ps1' # TiddlyWiki 編輯器
$ps='install_logseq_latest.ps1' # logseq 編輯器
$ps='install_vscode.ps1' # Visual Studio Code
$ps='install_paintnet.ps1' # paint.net(我用krita)
$ps='install_pyTranscriber_latest.ps1' # 影片轉字幕
$ps='install_conan_latest.ps1' # C++
$ps='install_dbeaver_23_3_5.ps1' # 資料庫管理
$ps='install_doxygen.ps1' # C++ 文件製作
$ps='install_ruby.ps1' # Ruby
$ps='install_net8sdk.ps1' # .Net 8
$ps='install_nodejs.ps1' # Node JS
$ps='install_spin_latest.ps1' # rust wasi
$ps='install_sizer4.ps1'
$ps='install_zoomit.ps1'
$ps='install_winmerge_latest.ps1'
$ps='install_rust.ps1'
$v='3.13.0';$ps='install_python.ps1'
$ps='install_vcbuildtools.ps1'
$ps='set_final.ps1'
(iwr https://raw.githubusercontent.com/dotnet/install-scripts/main/src/dotnet-install.ps1 -useb).Content -replace '\[string\]\$Runtime,','[string]$Runtime="windowsdesktop",' -replace '\[string\]\$Version="Latest"','[string]$Version="7.0.18"' | iex
(iwr https://raw.githubusercontent.com/dotnet/install-scripts/main/src/dotnet-install.ps1 -useb).Content -replace '\[string\]\$Runtime,','[string]$Runtime="windowsdesktop",' | iex
iwr -ou Dockerfile_spin https://raw.githubusercontent.com/kiloath/Installer/main/Dockerfile_spin -useb && docker build -t kospin -f Dockerfile_spin .
yarn config set "strict-ssl" false
curl -k https://raw.githubusercontent.com/github/gitignore/master/VisualStudio.gitignore --output .gitignore
RUN pip config set install.trusted-host "files.pythonhosted.org pypi.org"
RUN pip install -r requirements.txt
ENV NODE_TLS_REJECT_UNAUTHORIZED 0
RUN yarn config set "strict-ssl" false
RUN npm config set strict-ssl false
(iwr https://raw.githubusercontent.com/kiloath/Installer/main/echo.ps1 -useb).Content -replace '\[string\]\$name.*','[string]$name="kiloath"' | iex
Set-VMProcessor -VMName 'win' -ExposeVirtualizationExtensions $true
For Rancher/Docker Desktop
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
* 請重啟電腦
wsl --update
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
Enable-WindowsOptionalFeature -Online -FeatureName containers -All
[System.Net.ServicePointManager]::ServerCertificateValidationCallback = {$true}