Skip to content
This repository was archived by the owner on Jun 29, 2022. It is now read-only.

Commit ef4434f

Browse files
committed
✨ Now using Graviton SDK to build
1 parent 1a32e5d commit ef4434f

File tree

4 files changed

+1932
-706
lines changed

4 files changed

+1932
-706
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
node_modules/
22
.cache/
3-
parcel/
3+
build/
44
dist/

main.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ import Flutter from 'flutter-node'
33
function entry({
44
StatusBarItem,
55
ContextMenu,
6-
RunningConfig
6+
RunningConfig,
7+
envClient
78
}){
89
let _devices = [
910
{
@@ -80,20 +81,19 @@ function entry({
8081
})
8182
}
8283
})
83-
Flutter.isInstalled().then(res=>{
84+
Flutter.isInstalled().then( res => {
8485
if( !res ){
8586
button.setLabel('Flutter is not installed')
8687
}
8788
})
88-
Flutter.getDevices().then(function(res){
89+
Flutter.getDevices().then( res => {
8990
if(res.devices.length == 0){
9091
button.setLabel('No devices found')
9192
}else{
9293
button.setLabel(res.devices[0].name)
9394
_devices = res.devices
9495
}
9596
})
96-
9797
}
9898

9999
module.exports = {

0 commit comments

Comments
 (0)