mirror of
https://github.com/kepler155c/opus
synced 2024-11-05 00:16:16 +00:00
19 lines
319 B
Lua
19 lines
319 B
Lua
|
require = requireInjector(getfenv(1))
|
||
|
local Config = require('config')
|
||
|
local SHA1 = require('sha1')
|
||
|
|
||
|
local config = {
|
||
|
enable = false,
|
||
|
pocketId = 10,
|
||
|
distance = 8,
|
||
|
}
|
||
|
|
||
|
Config.load('os', config)
|
||
|
|
||
|
print('Enter new password')
|
||
|
local password = read()
|
||
|
|
||
|
config.password = SHA1.sha1(password)
|
||
|
|
||
|
Config.update('os', config)
|