Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
4d394591
Commit
4d394591
authored
Mar 07, 2017
by
Michael Goderbauer
Committed by
GitHub
Mar 07, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix for PowerShell Script when flutter/bin is not in PATH (#8620)
parent
0d958f03
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
flutter.ps1
bin/flutter.ps1
+1
-1
update_dart_sdk.ps1
bin/internal/update_dart_sdk.ps1
+3
-1
No files found.
bin/flutter.ps1
View file @
4d394591
...
...
@@ -26,5 +26,5 @@ If ($stdout -ne -1) {
}
}
flutter.bat
$args
&
$PSScriptRoot
\
flutter.bat
$args
exit
$LastExitCode
bin/internal/update_dart_sdk.ps1
View file @
4d394591
...
...
@@ -40,10 +40,12 @@ if (Test-Path $dartSdkPath) {
}
New-Item
$dartSdkPath
-force -type directory | Out-Null
$dartSdkZip
=
"
$cachePath
\dart-sdk.zip"
Import-Module BitsTransfer
Start-BitsTransfer
-Source
$dartSdkUrl
-Destination
$dartSdkZip
Write-Host
"Unzipping Dart SDK..."
Expand-Archive
$dartSdkZip
-DestinationPath
$cachePath
Remove-Item
$dartSdkZip
$dartSdkVersion
|
Out-File
$dartSdkStampPath
-Encoding ASCII
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment