Set DOTNET_SKIP_FIRST_TIME_EXPERIENCE in more places
This commit is contained in:
Родитель
bd5f1ce852
Коммит
fb6fdf586e
|
@ -16,6 +16,10 @@ set PROJECT_JSON_FILE=%PROJECT_JSON_PATH%\project.json
|
||||||
set PROJECT_JSON_CONTENTS={ "dependencies": { "Microsoft.DotNet.BuildTools": "%BUILDTOOLS_VERSION%" }, "frameworks": { "netcoreapp1.0": { } } }
|
set PROJECT_JSON_CONTENTS={ "dependencies": { "Microsoft.DotNet.BuildTools": "%BUILDTOOLS_VERSION%" }, "frameworks": { "netcoreapp1.0": { } } }
|
||||||
set BUILD_TOOLS_SEMAPHORE=%PROJECT_JSON_PATH%\init-tools.completed
|
set BUILD_TOOLS_SEMAPHORE=%PROJECT_JSON_PATH%\init-tools.completed
|
||||||
set DUMMY_GLOBAL_JSON_PATH=%PACKAGES_DIR%global.json
|
set DUMMY_GLOBAL_JSON_PATH=%PACKAGES_DIR%global.json
|
||||||
|
|
||||||
|
:: We do not want to run the first-time experience.
|
||||||
|
set DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
|
||||||
|
|
||||||
:: if force option is specified then clean the tool runtime and build tools package directory to force it to get recreated
|
:: if force option is specified then clean the tool runtime and build tools package directory to force it to get recreated
|
||||||
if [%1]==[force] (
|
if [%1]==[force] (
|
||||||
if exist "%TOOLRUNTIME_DIR%" rmdir /S /Q "%TOOLRUNTIME_DIR%"
|
if exist "%TOOLRUNTIME_DIR%" rmdir /S /Q "%TOOLRUNTIME_DIR%"
|
||||||
|
|
|
@ -18,6 +18,10 @@ __PROJECT_JSON_FILE=$__PROJECT_JSON_PATH/project.json
|
||||||
__PROJECT_JSON_CONTENTS="{ \"dependencies\": { \"Microsoft.DotNet.BuildTools\": \"$__BUILD_TOOLS_PACKAGE_VERSION\" }, \"frameworks\": { \"netcoreapp1.0\": { } } }"
|
__PROJECT_JSON_CONTENTS="{ \"dependencies\": { \"Microsoft.DotNet.BuildTools\": \"$__BUILD_TOOLS_PACKAGE_VERSION\" }, \"frameworks\": { \"netcoreapp1.0\": { } } }"
|
||||||
__INIT_TOOLS_DONE_MARKER=$__PROJECT_JSON_PATH/done
|
__INIT_TOOLS_DONE_MARKER=$__PROJECT_JSON_PATH/done
|
||||||
__DUMMY_GLOBAL_JSON_PATH=$__PACKAGES_DIR/global.json
|
__DUMMY_GLOBAL_JSON_PATH=$__PACKAGES_DIR/global.json
|
||||||
|
|
||||||
|
# We do not want to run the first-time experience.
|
||||||
|
export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
|
||||||
|
|
||||||
# Extended version of platform detection logic from dotnet/cli/scripts/obtain/dotnet-install.sh 16692fc
|
# Extended version of platform detection logic from dotnet/cli/scripts/obtain/dotnet-install.sh 16692fc
|
||||||
get_current_linux_name() {
|
get_current_linux_name() {
|
||||||
# Detect Distro
|
# Detect Distro
|
||||||
|
|
2
run.cmd
2
run.cmd
|
@ -12,5 +12,7 @@ if not defined VisualStudioVersion (
|
||||||
)
|
)
|
||||||
|
|
||||||
:Run
|
:Run
|
||||||
|
:: We do not want to run the first-time experience.
|
||||||
|
set DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
|
||||||
powershell -NoProfile -ExecutionPolicy unrestricted -Command "%~dp0run.ps1 -- %*"
|
powershell -NoProfile -ExecutionPolicy unrestricted -Command "%~dp0run.ps1 -- %*"
|
||||||
exit /b %ERRORLEVEL%
|
exit /b %ERRORLEVEL%
|
4
run.sh
4
run.sh
|
@ -17,5 +17,7 @@ __dotnet=$__toolsLocalPath/dotnetcli/dotnet
|
||||||
|
|
||||||
cp -fR $__scriptpath/tools-override/* $__toolsLocalPath
|
cp -fR $__scriptpath/tools-override/* $__toolsLocalPath
|
||||||
|
|
||||||
DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1 $__dotnet $__toolsLocalPath/run.exe $*
|
# We do not want to run the first-time experience.
|
||||||
|
export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
|
||||||
|
$__dotnet $__toolsLocalPath/run.exe $*
|
||||||
exit $?
|
exit $?
|
||||||
|
|
Загрузка…
Ссылка в новой задаче