mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
misc changes
This commit is contained in:
committed by
Aiden McClelland
parent
9d52149a0d
commit
7ec2d26fe7
@@ -50,6 +50,14 @@ export class ConfigService {
|
||||
}
|
||||
|
||||
isLaunchable (state: PackageState, status: PackageMainStatus, interfaces: { [id: string]: InterfaceDef }): boolean {
|
||||
console.log('is launchable', this.isLaunchable)
|
||||
console.log('state', state)
|
||||
console.log('status', status)
|
||||
console.log('ret val', status === PackageMainStatus.Running &&
|
||||
(
|
||||
(hasTorUi(interfaces) && this.isTor()) ||
|
||||
(hasLanUi(interfaces) && !this.isTor())
|
||||
))
|
||||
if (this.isConsulate || state !== PackageState.Installed) {
|
||||
return false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user