update doc/*/scripting/builtins/libpack.md
This commit is contained in:
@@ -108,3 +108,9 @@ pack.assemble(packis: table) -> table
|
|||||||
```
|
```
|
||||||
|
|
||||||
Checks the configuration for correctness and adds dependencies, returning the complete configuration.
|
Checks the configuration for correctness and adds dependencies, returning the complete configuration.
|
||||||
|
|
||||||
|
```lua
|
||||||
|
pack.request_writeable(packid: str, callback: function(str))
|
||||||
|
```
|
||||||
|
|
||||||
|
Request pack modification permission. New entry-point will be passed to the callback if confirmed.
|
||||||
|
|||||||
@@ -96,3 +96,9 @@ pack.assemble(packis: table) -> table
|
|||||||
```
|
```
|
||||||
|
|
||||||
Проверяет корректность конфигурации и добавляет зависимости, возвращая полную.
|
Проверяет корректность конфигурации и добавляет зависимости, возвращая полную.
|
||||||
|
|
||||||
|
```lua
|
||||||
|
pack.request_writeable(packid: str, callback: function(str))
|
||||||
|
```
|
||||||
|
|
||||||
|
Запрашивает у пользователя право на модификацию пака. При подтвержении новая точка входа будет передана в callback.
|
||||||
|
|||||||
Reference in New Issue
Block a user