如何打开相同配置的新ConEmu shell?
例如,目前我用这个GuiMacro打开一个新的git bash shell:
{Bash::Git bash}
如何使这更通用?因此,如果我在git bash shell中,它将使用{Shells::cmd}
;但如果我在cmd提示符下,它将使用:cantbuy
echo Insufficient Funds!
pause
goto shop
:buy1
set /p money=<"m2df.dll"
set /p cps=<"m3df.dll"
if %money% GEQ 100 goto canbuy1
goto cantbuy
:canbuy1
set /a "newmoney=%money%-100"
set money=%newmoney%
set /a "newcps=%cps%+2"
set cps=%newcps%
echo %cps% >m3df.dll
echo %money% >m2df.dll
echo Bought!
pause
goto shop