allow installed AppImage apps to launch without URL
This commit is contained in:
@@ -94,7 +94,9 @@ function Dashboard({ authSession, onSessionUpdate, onLogout }: DashboardProps):
|
||||
const activeLocalVersion = localVersions[activeApp]
|
||||
const appAction = appStatus?.action ?? 'UNAVAILABLE'
|
||||
const hasAppPermission = appConfig !== null && appConfig.canLaunch !== false && appStatus?.canLaunch !== false
|
||||
const canLaunch = hasAppPermission && appAction === 'LAUNCH' && Boolean(appConfig?.launchUrl)
|
||||
const canLaunch = hasAppPermission
|
||||
&& appAction === 'LAUNCH'
|
||||
&& Boolean(appConfig?.launchUrl || appConfig?.execPath || appStatus?.installed)
|
||||
const hasAnyUpdatingApp = Object.values(updatingApps).some(Boolean)
|
||||
const activeAppUpdating = Boolean(updatingApps[activeApp])
|
||||
const activeAppLaunching = launchingApp === activeApp
|
||||
|
||||
Reference in New Issue
Block a user