You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
733 B
23 lines
733 B
part of '../neon.dart'; |
|
|
|
class LinuxNeonPlatform extends NeonPlatform { |
|
LinuxNeonPlatform() |
|
: super( |
|
canUseWebView: false, |
|
canUseWakelock: false, |
|
canUseQuickActions: false, |
|
canUseSystemTray: true, |
|
canUseWindowManager: true, |
|
canUseCamera: false, |
|
canUsePushNotifications: false, |
|
getApplicationCachePath: () async => p.join( |
|
xdg.cacheHome.absolute.path, |
|
'de.provokateurin.neon', |
|
), |
|
getUserAccessibleAppDataPath: () async => p.join(Platform.environment['HOME']!, 'Neon'), |
|
init: () async { |
|
sqfliteFfiInit(); |
|
databaseFactory = databaseFactoryFfi; |
|
}, |
|
); |
|
}
|
|
|