Merge branch 'develop' into hf/terminal-log-rotation

This commit is contained in:
hosted-fornet 2024-09-24 14:59:42 -07:00
commit c5be279f52
3 changed files with 14 additions and 2 deletions

12
entitlements.plist Normal file
View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<!-- Required for running Kinode binary on macOS. Do I know why? Absolutely not.
Do not touch without testing after notarizing, changes break things unexpectedly.-->
<key>com.apple.security.cs.allow-jit</key>
<true/>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
</dict>
</plist>

View File

@ -31,7 +31,7 @@ const AllApps: React.FC = () => {
const o = [...orderedApps].sort((a, b) => { const o = [...orderedApps].sort((a, b) => {
return a.order - b.order; return a.order - b.order;
}); });
return o; return o.filter(app => app.path !== null);
}, [orderedApps, apps]); }, [orderedApps, apps]);
const displayedApps = expanded const displayedApps = expanded
@ -92,6 +92,7 @@ const AllApps: React.FC = () => {
<div <div
className={`apps-grid ${expanded ? "expanded" : ""} ${isMobile ? "mobile" : "" className={`apps-grid ${expanded ? "expanded" : ""} ${isMobile ? "mobile" : ""
}`} }`}
style={{ gridTemplateColumns: `repeat(${Math.min(displayedApps.length, 5)}, 1fr)` }}
> >
{displayedApps.map((app, index) => ( {displayedApps.map((app, index) => (
<div <div

View File

@ -159,7 +159,6 @@ footer {
.apps-grid { .apps-grid {
display: grid; display: grid;
grid-template-columns: repeat(5, 1fr);
width: 100%; width: 100%;
color: var(--off-white); color: var(--off-white);
} }