Last active
December 27, 2023 04:59
-
-
Save TenteEEEE/1ef33308bd841e3c5f1c8a1a8ab95d67 to your computer and use it in GitHub Desktop.
Pantie patch installer for Windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin" | |
choco install git.install -y | |
choco install miniconda3 --params="/InstallationType:JustMe /AddToPath:1 /RegisterPython:1" -y | |
call refreshenv | |
cd %homedrive%%homepath%/documents | |
git clone https://[email protected]/TenteEEEE/quiche_pantie_patch.git | |
cd quiche_pantie_patch | |
FOR /F "delims=~" %%f in (requirements.txt) DO conda install --yes "%%f" || pip install "%%f" | |
echo Pantie patch setup is completed!! | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
パンツパッチ インストーラー
こちらをダウンロード、あるいはメモ帳に同内容を書いて.batファイルとして保存後、右クリックから管理者として実行するだけで、全て自動セットアップされます。パンツパッチはユーザのドキュメントフォルダに展開されます。
仕組み
chocolateyというWindows用のソフトウェアパッケージ管理システムをインストールしてから、GitとPython3(miniconda)をセットアップした後、リポジトリをダウンロードしてから必要なパッケージを自動インストールします。
注意点
こちらのセットアップでデフォルトのPythonはminicondaを使用する環境に切り替わります。
これが問題になる環境であれば4行目のparamsにてaddtopathとregisterpythonの設定を削除してください。
というかこれが問題になると判断できる人にはこのバッチファイルいらないですよね?
Quiche pantie patch installer for Windows
This is an installer for my pantie patch. You just download the batch file and run it with administrator permission.
The pantie patch repository is unpacked on your documents folder.
How does it work
It utilizes chocolatey which is a package management system for Windows.
It installs Git and Python3(miniconda), and then it clones my repository with the installation of the requirements.
Caution
Your python environment will be overwritten by miniconda's python3.
If it will be an issue on your environment, please modify line 4.