mirror of
https://github.com/Squidly271/community.applications.git
synced 2025-06-03 14:52:13 +08:00
Allow Non CA apps to display in Installed / Previous
This commit is contained in:
parent
6be0ae5e9e
commit
d84893c93b
Binary file not shown.
@ -2,7 +2,7 @@
|
|||||||
4e55f7483b661af21a25b677179baffe ./CA_notices.page
|
4e55f7483b661af21a25b677179baffe ./CA_notices.page
|
||||||
42a1658a916a3a3eed2a9f2af80603c4 ./ca_settings.page
|
42a1658a916a3a3eed2a9f2af80603c4 ./ca_settings.page
|
||||||
e718d7825dbdc96a17a915079222b098 ./default.cfg
|
e718d7825dbdc96a17a915079222b098 ./default.cfg
|
||||||
536c93b5bc4bd402140b4ed3b7bcb7e3 ./include/exec.php
|
8e1b0220b451464f41916c2b7b5a2ae8 ./include/exec.php
|
||||||
d5ba81dbd93c7b149dec96def31107e9 ./include/helpers.php
|
d5ba81dbd93c7b149dec96def31107e9 ./include/helpers.php
|
||||||
d9b0dc98ee598d44633341ac199a43e0 ./include/paths.php
|
d9b0dc98ee598d44633341ac199a43e0 ./include/paths.php
|
||||||
532fffdf939594c143e679da02bd841e ./javascript/libraries.js
|
532fffdf939594c143e679da02bd841e ./javascript/libraries.js
|
||||||
|
@ -1044,6 +1044,8 @@ function previous_apps() {
|
|||||||
$o['SortName'] = str_replace("-"," ",$installedName);
|
$o['SortName'] = str_replace("-"," ",$installedName);
|
||||||
if ( $installedName !== $file[$searchResult]['Name'] )
|
if ( $installedName !== $file[$searchResult]['Name'] )
|
||||||
$o['NoPin'] = true; # This is renamed and effectively outside of CA's control
|
$o['NoPin'] = true; # This is renamed and effectively outside of CA's control
|
||||||
|
} else {
|
||||||
|
$runningFlag = true;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -1095,6 +1097,7 @@ function previous_apps() {
|
|||||||
if ( ! $flag ) {
|
if ( ! $flag ) {
|
||||||
$testRepo = explode(":",$o['Repository'])[0];
|
$testRepo = explode(":",$o['Repository'])[0];
|
||||||
# now associate the template back to a template in the appfeed
|
# now associate the template back to a template in the appfeed
|
||||||
|
|
||||||
foreach ($file as $appTemplate) {
|
foreach ($file as $appTemplate) {
|
||||||
if (startsWith($appTemplate['Repository'],$testRepo)) {
|
if (startsWith($appTemplate['Repository'],$testRepo)) {
|
||||||
$tempPath = $o['InstallPath'];
|
$tempPath = $o['InstallPath'];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user