mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2025-12-24 13:02:49 +01:00
aefe
This commit is contained in:
parent
1310118f0e
commit
2b098cf24e
@ -1016,7 +1016,7 @@
|
||||
icon="IgorTimofeev/OpenComputers/master/Applications/AppMarket/Icon.pic",
|
||||
createShortcut="dock",
|
||||
forceDownload=true,
|
||||
version=1.53,
|
||||
version=1.54,
|
||||
resources={
|
||||
{
|
||||
name="Localization/Russian.lang",
|
||||
|
||||
BIN
Applications/.DS_Store
vendored
BIN
Applications/.DS_Store
vendored
Binary file not shown.
@ -46,6 +46,7 @@ local typeFilters = {
|
||||
local localization = table.fromFile("MineOS/Applications/AppMarket.app/Resources/Localization/" .. _G.OSSettings.language .. ".lang")
|
||||
local appMarketConfigPath = "MineOS/System/AppMarket/"
|
||||
local pathToApplications = "MineOS/System/OS/Applications.txt"
|
||||
local pathToNewApplications = appMarketConfigPath .. "NewApplications.txt"
|
||||
local updateImage = image.load(MineOSCore.paths.icons .. "Update.pic")
|
||||
local topBarElements = {localization.applications, localization.libraries, localization.wallpapers, localization.other, localization.updates}
|
||||
local oldApplications, newApplications, currentApps, changes = {}, {}, {}, {}
|
||||
@ -223,7 +224,6 @@ local function drawMain(refreshData)
|
||||
end
|
||||
|
||||
local function getNewApplications()
|
||||
local pathToNewApplications = appMarketConfigPath .. "NewApplications.txt"
|
||||
ecs.getFileFromUrl(oldApplications.GitHubApplicationListURL, pathToNewApplications)
|
||||
newApplications = table.fromFile(pathToNewApplications)
|
||||
end
|
||||
@ -327,6 +327,7 @@ local function updateAll()
|
||||
changes = {}
|
||||
oldApplications = newApplications
|
||||
saveOldApplications()
|
||||
fs.remove(pathToNewApplications)
|
||||
require("computer").shutdown(true)
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user