mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-23 03:06:38 +00:00
Merge pull request #72 from resin-io/fix/windows-backslash-drive-letter
Do not append a backslash after drive letter in Windows
This commit is contained in:
commit
c589165e40
@ -58,7 +58,7 @@
|
||||
|
||||
<!-- Show drive letter instead of phsycal drive name on Windows -->
|
||||
<span ng-if="app.platform == 'win32'"
|
||||
ng-bind="'Drive ' + drive.mountpoint + '\\ - ' + drive.size"></span>
|
||||
ng-bind="'Drive ' + drive.mountpoint + ' - ' + drive.size"></span>
|
||||
<span ng-if="app.platform != 'win32'"
|
||||
ng-bind="drive.device + ' - ' + drive.size"></span>
|
||||
|
||||
@ -74,7 +74,7 @@
|
||||
|
||||
</div>
|
||||
<div ng-show="app.selection.hasDrive()">
|
||||
<span ng-if="app.platform == 'win32'" ng-bind="app.selection.getDrive().mountpoint + '\\'"></span>
|
||||
<span ng-if="app.platform == 'win32'" ng-bind="app.selection.getDrive().mountpoint"></span>
|
||||
<span ng-if="app.platform != 'win32'" ng-bind="app.selection.getDrive().device"></span>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user