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

Commit

Permalink
Renamed envClient to EnvClient
Browse files Browse the repository at this point in the history
  • Loading branch information
marc2332 committed Apr 30, 2020
1 parent 6541c21 commit 5128653
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ function entry({
StatusBarItem,
ContextMenu,
RunningConfig,
envClient
EnvClient
}){
let flutterDevices = [
{
Expand Down Expand Up @@ -38,7 +38,7 @@ function entry({
return {
label: folder.path,
action(){
runApp(flutterApp,folder,selectedDevice,envClient,RunningConfig)
runApp(flutterApp,folder,selectedDevice,EnvClient,RunningConfig)
}
}
})
Expand Down Expand Up @@ -84,13 +84,13 @@ function entry({
})
}

function runApp(flutterApp,folder,selectedDevice,envClient,RunningConfig){
function runApp(flutterApp,folder,selectedDevice,EnvClient,RunningConfig){
if( !selectedDevice ) return
flutterApp = new Flutter.app({
path: folder.path,
deviceId: selectedDevice.id
})
const flutterEnv = new envClient({
const flutterEnv = new EnvClient({
name: 'Flutter'
})
flutterEnv.on('start',()=>{
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "FlutterPlugin",
"id": "flutter-plugin",
"version": "0.1.5",
"version": "0.1.6",
"main": "main.js",
"mainSrc": "main.js",
"mainDev": "dist/main.js",
Expand Down

0 comments on commit 5128653

Please sign in to comment.