mirror of
https://git.shadowkat.net/izaya/OC-PsychOS2.git
synced 2024-11-25 12:42:10 -05:00
Compare commits
2 Commits
9dd5f5d4ad
...
c78bb7b32c
Author | SHA1 | Date | |
---|---|---|---|
|
c78bb7b32c | ||
|
6dfb34bb72 |
@ -1,2 +1,3 @@
|
||||
getty.lua
|
||||
fsmanager.lua
|
||||
minitel.lua
|
||||
|
@ -19,6 +19,10 @@ function unionfs.create(...)
|
||||
end
|
||||
return paths[1].."/"..path
|
||||
end
|
||||
|
||||
function proxy.setLabel()
|
||||
return false
|
||||
end
|
||||
|
||||
function proxy.spaceUsed()
|
||||
return fs.spaceUsed(paths[1])
|
||||
@ -35,6 +39,9 @@ function unionfs.create(...)
|
||||
function proxy.lastModified(path)
|
||||
return fs.lastModified(realpath(path))
|
||||
end
|
||||
function proxy.getLabel()
|
||||
return fs.getLabel(paths[1])
|
||||
end
|
||||
|
||||
function proxy.exists(path)
|
||||
return fs.exists(realpath(path))
|
||||
@ -91,7 +98,9 @@ function unionfs.create(...)
|
||||
if not fids[fid] then
|
||||
return false, "file not open"
|
||||
end
|
||||
return fids[fid]:read(d)
|
||||
local rb = fids[fid]:read(d)
|
||||
if rb == "" then rb = nil end
|
||||
return rb
|
||||
end
|
||||
function proxy.seek(fid,d)
|
||||
if not fids[fid] then
|
||||
|
14
package.sh
14
package.sh
@ -1,9 +1,9 @@
|
||||
#!/bin/bash
|
||||
rm -r psychos
|
||||
mkdir psychos
|
||||
cp -r exec/ lib/ service/ psychos/
|
||||
cp build/psychos.lua psychos/init.lua
|
||||
cp default-init.txt psychos/init.txt
|
||||
find psychos/ | cpio -oHbin > psychos.cpio
|
||||
cd psychos
|
||||
#rm -r psychos
|
||||
#mkdir psychos
|
||||
#cp -r exec/ lib/ service/ psychos/
|
||||
#cp build/psychos.lua psychos/init.lua
|
||||
#cp default-init.txt psychos/init.txt
|
||||
#find psychos/ | cpio -oHbin > psychos.cpio
|
||||
cd target
|
||||
find | cpio -oHbin > ../psychos-tarbomb.cpio
|
||||
|
Loading…
Reference in New Issue
Block a user