specify app in manifest
This will help the driver maintain separate settings for each app.
This commit is contained in:
parent
b4fff66a56
commit
b6fc07a36b
2
live.lua
2
live.lua
|
@ -138,6 +138,7 @@ function live.load_everything_in_manifest()
|
|||
end
|
||||
|
||||
PARENT = 'fw_parent'
|
||||
APP = 'fw_app'
|
||||
|
||||
function live.versioned_filename(index, root)
|
||||
return ('%04d-%s'):format(index, root)
|
||||
|
@ -215,6 +216,7 @@ function live.run(buf)
|
|||
if cmd == 'QUIT' then
|
||||
love.event.quit(1)
|
||||
elseif cmd == 'MANIFEST' then
|
||||
Live.manifest[APP] = love.filesystem.getIdentity() -- doesn't need to be persisted, but no harm if it does..
|
||||
live.send_to_driver(json.encode(Live.manifest))
|
||||
elseif cmd == 'DELETE' then
|
||||
local binding = buf:match('^%S+%s+(%S+)')
|
||||
|
|
Loading…
Reference in New Issue