File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ if(BUILD_REFERENCE)
1010 add_definitions (-DBUILD_REFERENCE=${BUILD_REFERENCE} )
1111endif ()
1212
13+ set (PLUGIN_LAUNCHER_STARTMODE "activated" CACHE STRING "Automatically start the plugin" )
1314find_package (${NAMESPACE} Plugins REQUIRED )
1415
1516add_library (${MODULE_NAME} SHARED
Original file line number Diff line number Diff line change 1- autostart = "true "
1+ startmode = "@PLUGIN_LAUNCHER_STARTMODE@ "
Original file line number Diff line number Diff line change 1- set (autostart true )
1+ set (startmode ${PLUGIN_LAUNCHER_STARTMODE} )
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments