mirror of
https://github.com/kepler155c/opus
synced 2025-01-19 03:42:51 +00:00
7224d441ca
* canvas overhaul * minor tweaks * list mode for overview * bugfixes + tweaks for editor 2.0 * minor tweaks * more editor work * refactor + new transitions * use layout() where appropriate and cleanup * mouse triple click + textEntry scroll ind * cleanup * cleanup + theme editor * color rework + cleanup * changes for deprecated ui methods * can now use named colors
24 lines
674 B
Lua
24 lines
674 B
Lua
local fs = _G.fs
|
|
|
|
local function deleteIfExists(path)
|
|
if fs.exists(path) then
|
|
fs.delete(path)
|
|
print("Deleted outdated file at: "..path)
|
|
end
|
|
end
|
|
-- cleanup outdated files
|
|
deleteIfExists('sys/apps/shell')
|
|
deleteIfExists('sys/etc/app.db')
|
|
deleteIfExists('sys/extensions')
|
|
deleteIfExists('sys/network')
|
|
deleteIfExists('startup')
|
|
deleteIfExists('sys/apps/system/turtle.lua')
|
|
deleteIfExists('sys/autorun/gps.lua')
|
|
deleteIfExists('sys/autorun/gpshost.lua')
|
|
deleteIfExists('sys/apps/network/redserver.lua')
|
|
deleteIfExists('sys/apis')
|
|
deleteIfExists('sys/autorun/apps.lua')
|
|
deleteIfExists('sys/init/6.tl3.lua')
|
|
|
|
-- remove this file
|
|
-- deleteIfExists('sys/autorun/upgraded.lua') |