Skip to content

Commit a4285f8

Browse files
committed
Hide install package button on Linux
1 parent c212c38 commit a4285f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/arduino/views/components/toolbar.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -71,15 +71,15 @@ function Toolbar(state, emit) {
7171
onClick: () => emit('change-view', 'file-manager')
7272
})}
7373
74-
${Button({
74+
${!window.BridgeWindow.isLinux() ? Button({
7575
icon: 'install-package.svg',
7676
tooltip: `Install Package`,
7777
active: true,
7878
onClick: () => {
7979
if(state.isConnected) emit('disconnect') // Package installer requires exclusive access to the serial port
8080
emit('launch-app', 'micropython-package-installer://', 'https://github.com/arduino/lab-micropython-package-installer/releases/latest')
8181
}
82-
})}
82+
}) : '' }
8383
</div>
8484
`
8585
}

0 commit comments

Comments
 (0)