Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mon4ik/linker
Библиотека для ComputerCraft на ярлыки
https://github.com/mon4ik/linker
computercraft computercraft-apis
Last synced: about 2 months ago
JSON representation
Библиотека для ComputerCraft на ярлыки
- Host: GitHub
- URL: https://github.com/mon4ik/linker
- Owner: Mon4ik
- Created: 2020-08-14T17:05:17.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-14T18:12:24.000Z (over 4 years ago)
- Last Synced: 2024-10-31T03:42:30.648Z (3 months ago)
- Topics: computercraft, computercraft-apis
- Language: Lua
- Homepage:
- Size: 1.95 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Linker
### Библиотека для ComputerCraft на ярлыки
## Установка
1. Напишите команду `pastebin get 02TU98wh linker_installer`
2. После установки инсталлера напишите `linker_installer <Папка, в которой будет папка linker>`
3. Готово! Вы установили Linker🎉!
## Документация
### linker.Create(string linkName, string filePath[, string iconPath]) - return table {bool Error, string InvalidArgument} || nil
Создать ярлык, по открытию которого перенесёт в filePath(Может быть и папкой) с иконкой iconPath
### linker.openLnk(string lnkFile) - return table{bool Error, string InvalidArgument} || nil
Открыть ярлык lnkFile
### linker.getIconPath(string lnkFile) - return table {bool Error, string InvalidArgument}, string IconPath
Возвращает путь до иконки
### linker.getPath(string lnkFile) - return table {bool Error, string InvalidArgument}, string filePath
Возвращает путь до файла