Created
September 7, 2022 16:21
-
-
Save ipcjs/566ae152f23596c36a5250c7cb0e25ac to your computer and use it in GitHub Desktop.
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
@echo off | |
setlocal enabledelayedexpansion | |
rem Generated by JetBrains Toolbox 1.25.12627 at 2022-09-07T17:07:44.532710200 | |
rem force use c:\github\@flutter, @see: https://github.com/flutter/flutter/issues/105395 | |
set "old_dir=%cd%" | |
if /i "%cd:~0,18%" == "k:\github\@flutter" ( | |
cd /d %cd:k:\github=c:\github% | |
echo switch work dir from %old_dir% to !cd!... | |
) | |
set waitarg= | |
set ideargs= | |
:next | |
set "passwait=" | |
if "%~1"=="--wait" set passwait=1 | |
if "%~1"=="-w" set passwait=1 | |
if defined passwait (set waitarg=/wait) | |
if not "%~1"=="" ( | |
if defined passwait (set "ideargs=%ideargs%--wait ") else (set "ideargs=%ideargs%%1 ") | |
shift | |
goto next | |
) | |
start "" %waitarg% C:/SDK/android-studio/bin/studio64.exe %ideargs% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment