Update package.ini - proper update notifications and footer highlight
This commit is contained in:
@@ -144,8 +144,27 @@ set-ini-val ./include/config.ini 'Update All' footer ''
|
||||
download https://raw.githubusercontent.com/ppkantorski/Alchemist/refs/heads/main/RELEASE.ini ./RELEASE.ini
|
||||
ini_file ./RELEASE.ini
|
||||
set-ini-val ./include/config.ini 'Update Alchemist' footer '{ini_file(Release Info,latest_version)}'
|
||||
json '{"null":"true","1.0.4":"false"}'
|
||||
set-ini-val ./include/config.ini 'Update Alchemist' footer_highlight '{json({ini_file(Release Info,latest_version)})}'
|
||||
|
||||
|
||||
download https://raw.githubusercontent.com/ppkantorski/Alchemist-Repos/refs/heads/main/RELEASE.ini ./repos/RELEASE.ini
|
||||
ini_file ./repos/RELEASE.ini
|
||||
set-ini-val ./include/config.ini '*Update Repos' footer '{ini_file(Release Info,latest_version)}'
|
||||
set-ini-val ./include/config.ini 'Update All' footer '{ini_file(Release Info,latest_version)}'
|
||||
|
||||
ini_file ./repos/CURRENT.ini
|
||||
json '{"null":"true","{ini_file(Release Info,latest_version)}":"false"}'
|
||||
ini_file ./repos/RELEASE.ini
|
||||
set-ini-val ./include/config.ini '*Update Repos' footer_highlight '{json({ini_file(Release Info,latest_version)})}'
|
||||
set-ini-val ./include/config.ini 'Update All' footer_highlight '{json({ini_file(Release Info,latest_version)})}'
|
||||
|
||||
|
||||
ini_file ./RELEASE.ini
|
||||
json '{"null":"notify","1.0.4":""}'
|
||||
'{json({ini_file(Release Info,latest_version)})}' 'Alchemist update is available!'
|
||||
|
||||
ini_file ./repos/CURRENT.ini
|
||||
json '{"null":"notify","{ini_file(Release Info,latest_version)}":""}'
|
||||
ini_file ./repos/RELEASE.ini
|
||||
'{json({ini_file(Release Info,latest_version)})}' 'Repos update is available!'
|
||||
|
||||
Reference in New Issue
Block a user