Allow Non CA apps to display in Installed / Previous

pull/11/head
Squidly271 2022-04-19 10:01:39 -04:00
parent 6be0ae5e9e
commit d84893c93b
3 changed files with 4 additions and 1 deletions

View File

@ -2,7 +2,7 @@
4e55f7483b661af21a25b677179baffe ./CA_notices.page
42a1658a916a3a3eed2a9f2af80603c4 ./ca_settings.page
e718d7825dbdc96a17a915079222b098 ./default.cfg
536c93b5bc4bd402140b4ed3b7bcb7e3 ./include/exec.php
8e1b0220b451464f41916c2b7b5a2ae8 ./include/exec.php
d5ba81dbd93c7b149dec96def31107e9 ./include/helpers.php
d9b0dc98ee598d44633341ac199a43e0 ./include/paths.php
532fffdf939594c143e679da02bd841e ./javascript/libraries.js

View File

@ -1044,6 +1044,8 @@ function previous_apps() {
$o['SortName'] = str_replace("-"," ",$installedName);
if ( $installedName !== $file[$searchResult]['Name'] )
$o['NoPin'] = true; # This is renamed and effectively outside of CA's control
} else {
$runningFlag = true;
}
break;
}
@ -1095,6 +1097,7 @@ function previous_apps() {
if ( ! $flag ) {
$testRepo = explode(":",$o['Repository'])[0];
# now associate the template back to a template in the appfeed
foreach ($file as $appTemplate) {
if (startsWith($appTemplate['Repository'],$testRepo)) {
$tempPath = $o['InstallPath'];