Created
December 5, 2024 06:56
-
-
Save tanakamasayuki/dfb031c2c9de0dd0ffd9a550375a1ab6 to your computer and use it in GitHub Desktop.
StampFlyの開発環境(vscode+pio)を初期設定するバッチファイル
This file contains hidden or 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
winget install Microsoft.VisualStudioCode --accept-package-agreements --accept-source-agreements --silent | |
call "C:\Users\%USERNAME%\AppData\Local\Programs\Microsoft VS Code\bin\code.cmd" --force --install-extension ms-ceintl.vscode-language-pack-ja | |
call "C:\Users\%USERNAME%\AppData\Local\Programs\Microsoft VS Code\bin\code.cmd" --force --install-extension ms-vscode.cpptools | |
call "C:\Users\%USERNAME%\AppData\Local\Programs\Microsoft VS Code\bin\code.cmd" --force --install-extension platformio.platformio-ide | |
cd C:\Users\%USERNAME%\Desktop | |
curl -L https://codeload.github.com/M5Fly-kanazawa/StampFly/zip/refs/heads/main -o StampFly.zip | |
tar -xf StampFly.zip | |
cd StampFly-main | |
call "C:\Users\%USERNAME%\AppData\Local\Programs\Microsoft VS Code\bin\code.cmd" . --disable-workspace-trust | |
:pio_wait | |
if not exist "C:\Users\%USERNAME%\.platformio\penv\Scripts\pio.exe" ( | |
timeout /t 3 > nul | |
GOTO pio_wait | |
) | |
C:\Users\%USERNAME%\.platformio\penv\Scripts\pio.exe run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment