tweaks
This commit is contained in:
@@ -1,7 +1,8 @@
|
|||||||
{
|
{
|
||||||
title = 'Disk compression',
|
title = 'Disk compression',
|
||||||
repository = 'kepler155c/opus-apps/{{OPUS_BRANCH}}/lzwfs',
|
repository = 'kepler155c/opus-apps/{{OPUS_BRANCH}}/lzwfs',
|
||||||
description = [[ Disk compression ]],
|
description = [[Transparent file compression.
|
||||||
|
Go to System->Compression to activate]],
|
||||||
license = 'MIT',
|
license = 'MIT',
|
||||||
install = [[
|
install = [[
|
||||||
local Util = require('opus.util')
|
local Util = require('opus.util')
|
||||||
@@ -13,7 +14,7 @@
|
|||||||
'sys/',
|
'sys/',
|
||||||
'usr/config/',
|
'usr/config/',
|
||||||
}
|
}
|
||||||
}
|
})
|
||||||
local boot = Util.readTable('.startup.boot')
|
local boot = Util.readTable('.startup.boot')
|
||||||
table.insert(boot.preload, 1, '/packages/lzwfs/startup.lua')
|
table.insert(boot.preload, 1, '/packages/lzwfs/startup.lua')
|
||||||
Util.writeTable('.startup.boot', boot)
|
Util.writeTable('.startup.boot', boot)
|
||||||
|
|||||||
@@ -13,5 +13,6 @@ MBS is a series of utilities for improving the default CraftOS experience.
|
|||||||
]],
|
]],
|
||||||
uninstall = [[
|
uninstall = [[
|
||||||
require('opus.alternate').remove('shell', '.mbs/bin/shell.lua')
|
require('opus.alternate').remove('shell', '.mbs/bin/shell.lua')
|
||||||
|
fs.delete('.mbs')
|
||||||
]],
|
]],
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user