chore: App Store

This commit is contained in:
hstyi
2025-08-06 19:53:19 +08:00
committed by hstyi
parent 57662f717b
commit 93c28242fb
3 changed files with 24 additions and 20 deletions

View File

@@ -12,6 +12,7 @@ enum class AppLayout {
* macOS
*/
App,
AppStore,
/**
* Linux

View File

@@ -15,7 +15,7 @@ internal class MyApplicationRunnerExtension private constructor() : ApplicationR
private val log = LoggerFactory.getLogger(MyApplicationRunnerExtension::class.java)
}
private val disabledUpdater get() = Application.getLayout() == AppLayout.Appx
private val disabledUpdater get() = Application.getLayout() == AppLayout.Appx || Application.getLayout() == AppLayout.AppStore
private val updaterManager get() = UpdaterManager.getInstance()