made software app better
This commit is contained in:
@@ -4,7 +4,22 @@ local appid = "org.ruffles.launcher"
|
||||
|
||||
local project_name = "Launcher"
|
||||
|
||||
|
||||
local package_data = build.optimize(build.package("src"))
|
||||
|
||||
build.writePackage(package_data,"build/"..appid)
|
||||
|
||||
local meta = {
|
||||
perms = {
|
||||
repo = true,
|
||||
network = true,
|
||||
app = true,
|
||||
http = true,
|
||||
},
|
||||
author = "Ruffles",
|
||||
hidden = true,
|
||||
name = project_name,
|
||||
appid = appid,
|
||||
}
|
||||
|
||||
build.writeMeta(meta,"build/"..project_name..".meta")
|
||||
build.merge("build/"..appid,"build/"..project_name..".meta","build/"..project_name..".app")
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
error("started")
|
||||
local basalt = require("globals.basalt")
|
||||
|
||||
-- Get the main frame (your window)
|
||||
@@ -54,7 +55,7 @@ local function mainloop()
|
||||
local apps = app.getRunningApps()
|
||||
for i,pid in ipairs(apps) do
|
||||
local appData,msg = app.getDetail(pid)
|
||||
if appData then
|
||||
if appData and not appData.hidden then
|
||||
processFrame:addLabel({
|
||||
x=1,
|
||||
y=i,
|
||||
|
||||
Reference in New Issue
Block a user