mirror of
https://github.com/TermoraDev/termora.git
synced 2026-01-16 02:12:58 +08:00
chore: App Store
This commit is contained in:
@@ -12,6 +12,7 @@ enum class AppLayout {
|
||||
* macOS
|
||||
*/
|
||||
App,
|
||||
AppStore,
|
||||
|
||||
/**
|
||||
* Linux
|
||||
|
||||
@@ -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()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user