-
Notifications
You must be signed in to change notification settings - Fork 2
/
_ucfgmenu.lua.example
27 lines (20 loc) · 925 Bytes
/
_ucfgmenu.lua.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--[[ Rh_Scripts ]]--
-- This file is for Rh_Scripts pack configurator only. Please, don't edit it.
----------------------------------------
--[[ description:
-- Rh_Scripts pack configurator.
-- Конфигуратор пакета Rh_Scripts.
--]]
---------------------------------------- Check
local CErrorTitle = "Error: Rh_Scripts pack"
local SInstallError = "Package is not properly installed:\n%s"
local farError = function (Msg) return far.Message(Msg, CErrorTitle, nil, 'e') end
if rawget(_G, 'context') == nil then
farError(SInstallError:format"LuaFAR context is required!")
return false
end
---------------------------------------- Items
local ScriptsPath = "scripts\\Rh_Scripts\\"
-- Rh_Scripts pack configurator.
AddToMenu("c", "&Rh_Scripts package", nil, ScriptsPath.."Common\\rhsConfig")
--------------------------------------------------------------------------------