2015-07-22 09:52:37 |
Marcus Tomlinson |
description |
Running "unity-scope-tool ./examples/simple/simple.ini" should work.
Firstly we can't have an argument in the ScopeRunner parameter of the .ini file be something like "scope=%S" as the scope runtime only substitutes "%S" and "%R" as whole parameters. the "%S" substring of "scope=%S" will not be substituted.
Secondly, you have to take in the "%R" argument as well. The unity-scope-tool uses a temporary runtime and passes with via that parameter. The launcher needs to accept the runtime config and pass it on accordingly to the create_scope_runtime() call in scope.cc.
These were part of the fixes I made in lp:~marcustomlinson/unity-js-scopes/fix-launcher. |
Running "unity-scope-tool ./examples/simple/simple.ini" should work.
Firstly we can't have an argument in the ScopeRunner parameter of the .ini file be something like "scope=%S" as the scope runtime only substitutes "%S" and "%R" as whole parameters. the "%S" substring of "scope=%S" will not be substituted.
Secondly, you have to take in the "%R" argument as well. The unity-scope-tool uses a temporary runtime and passes with via that parameter. The launcher needs to accept the runtime config and pass it on accordingly to the create_scope_runtime() call in scope.cc. |
|