Skip to content

Commit f60b99f

Browse files
authored
Merge pull request #21 from WebPlatformForEmbedded/development/METROL-878
Changed Autostart to startmode
2 parents 105ddfb + b93e153 commit f60b99f

4 files changed

Lines changed: 7 additions & 6 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ if(BUILD_REFERENCE)
1010
add_definitions(-DBUILD_REFERENCE=${BUILD_REFERENCE})
1111
endif()
1212

13+
set(PLUGIN_LAUNCHER_STARTMODE "activated" CACHE STRING "Automatically start the plugin")
1314
find_package(${NAMESPACE}Plugins REQUIRED)
1415

1516
add_library(${MODULE_NAME} SHARED

Launcher.conf.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
autostart = "true"
1+
startmode = "@PLUGIN_LAUNCHER_STARTMODE@"

Launcher.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
set (autostart true)
1+
set (startmode ${PLUGIN_LAUNCHER_STARTMODE})

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Plugin to "Launch" linux applications and scripts
1616
"precondition":[
1717
"Platform"
1818
],
19-
"autostart":true
19+
"startmode":"activated"
2020
}
2121
```
2222

@@ -30,7 +30,7 @@ Plugin to "Launch" linux applications and scripts
3030
"precondition":[
3131
"Platform"
3232
],
33-
"autostart":true,
33+
"startmode":"activated",
3434
"configuration": {
3535
"command":"du"
3636
}
@@ -47,7 +47,7 @@ Plugin to "Launch" linux applications and scripts
4747
"precondition":[
4848
"Platform"
4949
],
50-
"autostart":true,
50+
"startmode":"activated",
5151
"configuration": {
5252
"command":"du",
5353
"parameters": [
@@ -144,7 +144,7 @@ Note:
144144
"precondition":[
145145
"Platform"
146146
],
147-
"autostart":true,
147+
"startmode":"activated",
148148
"configuration": {
149149
"command":"du",
150150
"closetime":5

0 commit comments

Comments
 (0)