{"action":"created","issue":{"url":"https://api.github.com/repos/EvilBeaver/oscript-library/issues/17","labels_url":"https://api.github.com/repos/EvilBeaver/oscript-library/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/EvilBeaver/oscript-library/issues/17/comments","events_url":"https://api.github.com/repos/EvilBeaver/oscript-library/issues/17/events","html_url":"https://github.com/EvilBeaver/oscript-library/issues/17","id":109965124,"number":17,"title":"Обеспечить простую инсталляцию в PATH скриптов-стартеров для приложений","user":{"login":"EvilBeaver","id":2657561,"avatar_url":"https://avatars.githubusercontent.com/u/2657561?v=3","gravatar_id":"","url":"https://api.github.com/users/EvilBeaver","html_url":"https://github.com/EvilBeaver","followers_url":"https://api.github.com/users/EvilBeaver/followers","following_url":"https://api.github.com/users/EvilBeaver/following{/other_user}","gists_url":"https://api.github.com/users/EvilBeaver/gists{/gist_id}","starred_url":"https://api.github.com/users/EvilBeaver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EvilBeaver/subscriptions","organizations_url":"https://api.github.com/users/EvilBeaver/orgs","repos_url":"https://api.github.com/users/EvilBeaver/repos","events_url":"https://api.github.com/users/EvilBeaver/events{/privacy}","received_events_url":"https://api.github.com/users/EvilBeaver/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-06T09:04:51Z","updated_at":"2015-11-03T15:08:37Z","closed_at":null,"body":"Сейчас gitsync и opm генерируют bat/sh при установке через opm из пакета. А вот если opm не установлен в PATH, то сгенерировать bat/sh сложнее.\r\n\r\nНужен простой способ создания shell скрипта-стартера в PATH."},"comment":{"url":"https://api.github.com/repos/EvilBeaver/oscript-library/issues/comments/153383237","html_url":"https://github.com/EvilBeaver/oscript-library/issues/17#issuecomment-153383237","issue_url":"https://api.github.com/repos/EvilBeaver/oscript-library/issues/17","id":153383237,"user":{"login":"artbear","id":2920817,"avatar_url":"https://avatars.githubusercontent.com/u/2920817?v=3","gravatar_id":"","url":"https://api.github.com/users/artbear","html_url":"https://github.com/artbear","followers_url":"https://api.github.com/users/artbear/followers","following_url":"https://api.github.com/users/artbear/following{/other_user}","gists_url":"https://api.github.com/users/artbear/gists{/gist_id}","starred_url":"https://api.github.com/users/artbear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artbear/subscriptions","organizations_url":"https://api.github.com/users/artbear/orgs","repos_url":"https://api.github.com/users/artbear/repos","events_url":"https://api.github.com/users/artbear/events{/privacy}","received_events_url":"https://api.github.com/users/artbear/received_events","type":"User","site_admin":false},"created_at":"2015-11-03T15:08:37Z","updated_at":"2015-11-03T15:08:37Z","body":"нужно добавить к opm функциональность, чтобы можно было сгенерить bat-файл в указанной папке (folder) или КаталогПрограммы (если папка не указана) \r\nсо следующим текстом \r\n- (если скрипт находится где-то внутри `КаталогПрограммы\\..`)\r\n\r\n`@\"%~dp0\\oscript\" \"%~dp0\\..\\lib\\gitsync\\src\\gitsync.os\"  %1 %2 %3 %4 %5 %6 %7 %8 %9`\r\n\r\n- или (если скрипт находится в прочих местах)\r\n\r\n`oscript ПутьСкрипта\\Скрипт.os  %1 %2 %3 %4 %5 %6 %7 %8 %9`"}}