This commit is contained in:
kepler155c@gmail.com
2019-11-09 23:43:36 -07:00
parent 957ac4f95f
commit c873a2e588
2 changed files with 4 additions and 2 deletions

View File

@@ -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)

View File

@@ -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')
]], ]],
} }