{"action":"created","issue":{"url":"https://api.github.com/repos/opentx/opentx/issues/6059","repository_url":"https://api.github.com/repos/opentx/opentx","labels_url":"https://api.github.com/repos/opentx/opentx/issues/6059/labels{/name}","comments_url":"https://api.github.com/repos/opentx/opentx/issues/6059/comments","events_url":"https://api.github.com/repos/opentx/opentx/issues/6059/events","html_url":"https://github.com/opentx/opentx/issues/6059","id":344948455,"node_id":"MDU6SXNzdWUzNDQ5NDg0NTU=","number":6059,"title":"[Companion 2.2.2.RC5] Simulator always creates .luac files","user":{"login":"LapinFou","id":1685030,"node_id":"MDQ6VXNlcjE2ODUwMzA=","avatar_url":"https://avatars2.githubusercontent.com/u/1685030?v=4","gravatar_id":"","url":"https://api.github.com/users/LapinFou","html_url":"https://github.com/LapinFou","followers_url":"https://api.github.com/users/LapinFou/followers","following_url":"https://api.github.com/users/LapinFou/following{/other_user}","gists_url":"https://api.github.com/users/LapinFou/gists{/gist_id}","starred_url":"https://api.github.com/users/LapinFou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LapinFou/subscriptions","organizations_url":"https://api.github.com/users/LapinFou/orgs","repos_url":"https://api.github.com/users/LapinFou/repos","events_url":"https://api.github.com/users/LapinFou/events{/privacy}","received_events_url":"https://api.github.com/users/LapinFou/received_events","type":"User","site_admin":false},"labels":[{"id":68400626,"node_id":"MDU6TGFiZWw2ODQwMDYyNg==","url":"https://api.github.com/repos/opentx/opentx/labels/Companion","name":"Companion","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/opentx/opentx/milestones/41","html_url":"https://github.com/opentx/opentx/milestone/41","labels_url":"https://api.github.com/repos/opentx/opentx/milestones/41/labels","id":2905107,"node_id":"MDk6TWlsZXN0b25lMjkwNTEwNw==","number":41,"title":"OpenTX 2.2.2","description":"","creator":{"login":"bsongis","id":5603504,"node_id":"MDQ6VXNlcjU2MDM1MDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/5603504?v=4","gravatar_id":"","url":"https://api.github.com/users/bsongis","html_url":"https://github.com/bsongis","followers_url":"https://api.github.com/users/bsongis/followers","following_url":"https://api.github.com/users/bsongis/following{/other_user}","gists_url":"https://api.github.com/users/bsongis/gists{/gist_id}","starred_url":"https://api.github.com/users/bsongis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsongis/subscriptions","organizations_url":"https://api.github.com/users/bsongis/orgs","repos_url":"https://api.github.com/users/bsongis/repos","events_url":"https://api.github.com/users/bsongis/events{/privacy}","received_events_url":"https://api.github.com/users/bsongis/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":113,"state":"open","created_at":"2017-11-11T08:42:54Z","updated_at":"2018-07-26T18:13:16Z","due_on":"2018-04-30T07:00:00Z","closed_at":null},"comments":10,"created_at":"2018-07-26T18:05:13Z","updated_at":"2018-07-29T18:23:16Z","closed_at":"2018-07-26T18:13:16Z","author_association":"CONTRIBUTOR","body":"Hi folks,\r\n\r\nEven if the compilation option **luac** is not enabled, the simulator will always create a **.luac** file.\r\nThen this file will be copy during the SD card synchronization process.\r\nI tested it on Win10."},"comment":{"url":"https://api.github.com/repos/opentx/opentx/issues/comments/408695929","html_url":"https://github.com/opentx/opentx/issues/6059#issuecomment-408695929","issue_url":"https://api.github.com/repos/opentx/opentx/issues/6059","id":408695929,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODY5NTkyOQ==","user":{"login":"mpaperno","id":1366615,"node_id":"MDQ6VXNlcjEzNjY2MTU=","avatar_url":"https://avatars2.githubusercontent.com/u/1366615?v=4","gravatar_id":"","url":"https://api.github.com/users/mpaperno","html_url":"https://github.com/mpaperno","followers_url":"https://api.github.com/users/mpaperno/followers","following_url":"https://api.github.com/users/mpaperno/following{/other_user}","gists_url":"https://api.github.com/users/mpaperno/gists{/gist_id}","starred_url":"https://api.github.com/users/mpaperno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpaperno/subscriptions","organizations_url":"https://api.github.com/users/mpaperno/orgs","repos_url":"https://api.github.com/users/mpaperno/repos","events_url":"https://api.github.com/users/mpaperno/events{/privacy}","received_events_url":"https://api.github.com/users/mpaperno/received_events","type":"User","site_admin":false},"created_at":"2018-07-29T18:23:16Z","updated_at":"2018-07-29T18:23:16Z","author_association":"MEMBER","body":"Actually another scenario is that a `.luac` file name is \"hard-coded\" somewhere in a script (which loads other scripts). The firmware will still load the .luac file even if `luac` is disabled (`luac` technically only enables the pre-compiler feature and ability to select .luac files in the UI). In fact the file can be called anything at all and the Lua processor will still try to load it, which was the only way to use pre-compiled scripts in the past.  \r\n\r\nAlso the same issue would happen if user had specifically selected a .luac file as a script in the UI while `luac` was enabled (or modified the settings in some other nefarious way :) ).  In this case the .lua version probably doesn't even exist.\r\n\r\nSo I think that negates auto-excluding .luac."}}
{"actor":{"display_login":"mpaperno"}}