Adress a couple of issues (#58)
This commit was merged in pull request #58.
This commit is contained in:
16
README.md
16
README.md
@@ -1,2 +1,18 @@
|
|||||||
# opus-apps
|
# opus-apps
|
||||||
Applications for Opus OS
|
Applications for Opus OS
|
||||||
|
|
||||||
|
## Installing an application
|
||||||
|
To install an application, follow these steps
|
||||||
|
1. Start your OpusOS Computer
|
||||||
|
2. Go to the System tab on the main menu
|
||||||
|
3. Find the packages app and open it
|
||||||
|
4. Select the package you want
|
||||||
|
5. Select the package and press the `+` button
|
||||||
|
6. Your application should get installed!
|
||||||
|
|
||||||
|
## Updating your applications
|
||||||
|
To update your applications, follow these steps
|
||||||
|
1. Start your OpusOS Computer
|
||||||
|
2. Go to the System tab on the main menu
|
||||||
|
3. Find the packages app and open it
|
||||||
|
4. Press the `Update All` button
|
||||||
|
|||||||
@@ -157,7 +157,8 @@ local function createPage(node)
|
|||||||
row.remaining = math.max(0, row.requested - row.crafted)
|
row.remaining = math.max(0, row.requested - row.crafted)
|
||||||
--_syslog('%d %d %d %d', row.remaining, row.requested, row.total, row.crafted)
|
--_syslog('%d %d %d %d', row.remaining, row.requested, row.total, row.crafted)
|
||||||
row.status = (row.status or '') ..
|
row.status = (row.status or '') ..
|
||||||
string.format(' %d of %d', row.crafted + row.total, row.total + row.requested)
|
row.total = row.total or 0
|
||||||
|
string.format(' %d of %d', row.crafted + row.total, row.total + row.requested)
|
||||||
else
|
else
|
||||||
row.displayName = ' ' .. row.displayName
|
row.displayName = ' ' .. row.displayName
|
||||||
row.status = (row.status or '') .. string.format(' %d of %d', row.count, row.total)
|
row.status = (row.status or '') .. string.format(' %d of %d', row.count, row.total)
|
||||||
|
|||||||
@@ -151,7 +151,7 @@ local function createPage(node)
|
|||||||
{ heading = 'Size', key = 'size', width = 5 },
|
{ heading = 'Size', key = 'size', width = 5 },
|
||||||
{ heading = 'Used', key = 'used', width = 5 },
|
{ heading = 'Used', key = 'used', width = 5 },
|
||||||
{ heading = 'Perc', key = 'perc', width = 5 },
|
{ heading = 'Perc', key = 'perc', width = 5 },
|
||||||
-- TODO: add % to each number
|
|
||||||
},
|
},
|
||||||
sortColumn = 'name',
|
sortColumn = 'name',
|
||||||
},
|
},
|
||||||
@@ -224,7 +224,7 @@ local function createPage(node)
|
|||||||
name = n.displayName or n.name,
|
name = n.displayName or n.name,
|
||||||
size = n.adapter.__size,
|
size = n.adapter.__size,
|
||||||
used = n.adapter.__used,
|
used = n.adapter.__used,
|
||||||
perc = math.floor(n.adapter.__used / n.adapter.__size * 100),
|
perc = tostring(math.floor(n.adapter.__used / n.adapter.__size * 100)) .. "%",
|
||||||
updated = updated,
|
updated = updated,
|
||||||
})
|
})
|
||||||
totals.usedSlots = totals.usedSlots + n.adapter.__used
|
totals.usedSlots = totals.usedSlots + n.adapter.__used
|
||||||
|
|||||||
Reference in New Issue
Block a user