add bootstrap script and better instructions for installation
This commit is contained in:
8
bootstrap.lua
Normal file
8
bootstrap.lua
Normal file
@ -0,0 +1,8 @@
|
||||
os.execute('git clone https://git.squi.bid/eat-it /tmp/eatit-tmp')
|
||||
local a = io.open('/tmp/eatit-tmp/eatit.lua', 'r')
|
||||
local b = io.open(mp.command_native({'expand-path', '~~/scripts/eatit.lua'}), 'w')
|
||||
b:write(a:read('*a'))
|
||||
b:close()
|
||||
a:close()
|
||||
dofile(mp.command_native({'expand-path', '~~/scripts/eatit.lua'}))
|
||||
os.execute('rm -rf /tmp/eatit-tmp')
|
Reference in New Issue
Block a user