File tree Expand file tree Collapse file tree 8 files changed +102
-1
lines changed
PowerSync/PowerSync.Maui/SQLite Expand file tree Collapse file tree 8 files changed +102
-1
lines changed Original file line number Diff line number Diff line change 1414* .log
1515* .tlog
1616* .dmp
17+ * .tmp
1718
1819# Visual Studio specific
1920.vscode /
Original file line number Diff line number Diff line change @@ -22,6 +22,8 @@ protected override void LoadExtension(SqliteConnection db)
2222 LoadExtensionIOS ( db ) ;
2323#elif ANDROID
2424 db . LoadExtension ( "libpowersync" ) ;
25+ #else
26+ base . LoadExtension ( db ) ;
2527#endif
2628 }
2729
Original file line number Diff line number Diff line change 1+ <maui : MauiWinUIApplication
2+ x : Class =" TodoSQLite.WinUI.App"
3+ xmlns =" http://schemas.microsoft.com/winfx/2006/xaml/presentation"
4+ xmlns : x =" http://schemas.microsoft.com/winfx/2006/xaml"
5+ xmlns : maui =" using:Microsoft.Maui"
6+ xmlns : local =" using:TodoSQLite.WinUI" >
7+
8+ </maui : MauiWinUIApplication >
Original file line number Diff line number Diff line change 1+ using Microsoft . UI . Xaml ;
2+
3+ // To learn more about WinUI, the WinUI project structure,
4+ // and more about our project templates, see: http://aka.ms/winui-project-info.
5+
6+ namespace TodoSQLite . WinUI ;
7+
8+ /// <summary>
9+ /// Provides application-specific behavior to supplement the default Application class.
10+ /// </summary>
11+ public partial class App : MauiWinUIApplication
12+ {
13+ /// <summary>
14+ /// Initializes the singleton application object. This is the first line of authored code
15+ /// executed, and as such is the logical equivalent of main() or WinMain().
16+ /// </summary>
17+ public App ( )
18+ {
19+ this . InitializeComponent ( ) ;
20+ }
21+
22+ protected override MauiApp CreateMauiApp ( ) => MauiProgram . CreateMauiApp ( ) ;
23+ }
24+
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <Package
3+ xmlns =" http://schemas.microsoft.com/appx/manifest/foundation/windows10"
4+ xmlns : uap =" http://schemas.microsoft.com/appx/manifest/uap/windows10"
5+ xmlns : rescap =" http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
6+ IgnorableNamespaces =" uap rescap" >
7+
8+ <Identity Name =" maui-package-name-placeholder" Publisher =" CN=User Name" Version =" 0.0.0.0" />
9+
10+ <Properties >
11+ <DisplayName >$placeholder$</DisplayName >
12+ <PublisherDisplayName >User Name</PublisherDisplayName >
13+ <Logo >$placeholder$.png</Logo >
14+ </Properties >
15+
16+ <Dependencies >
17+ <TargetDeviceFamily Name =" Windows.Universal" MinVersion =" 10.0.19041.0" MaxVersionTested =" 10.0.19041.0" />
18+ <TargetDeviceFamily Name =" Windows.Desktop" MinVersion =" 10.0.19041.0" MaxVersionTested =" 10.0.19041.0" />
19+ </Dependencies >
20+
21+ <Resources >
22+ <Resource Language =" x-generate" />
23+ </Resources >
24+
25+ <Applications >
26+ <Application Id =" App" Executable =" $targetnametoken$.exe" EntryPoint =" $targetentrypoint$" >
27+ <uap : VisualElements
28+ DisplayName =" $placeholder$"
29+ Description =" $placeholder$"
30+ Square150x150Logo =" $placeholder$.png"
31+ Square44x44Logo =" $placeholder$.png"
32+ BackgroundColor =" transparent" >
33+ <uap : DefaultTile Square71x71Logo =" $placeholder$.png" Wide310x150Logo =" $placeholder$.png" Square310x310Logo =" $placeholder$.png" />
34+ <uap : SplashScreen Image =" $placeholder$.png" />
35+ </uap : VisualElements >
36+ </Application >
37+ </Applications >
38+
39+ <Capabilities >
40+ <rescap : Capability Name =" runFullTrust" />
41+ </Capabilities >
42+
43+ </Package >
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <assembly manifestVersion =" 1.0" xmlns =" urn:schemas-microsoft-com:asm.v1" >
3+ <assemblyIdentity version =" 1.0.0.0" name =" TodoSQLite.WinUI.app" />
4+
5+ <application xmlns =" urn:schemas-microsoft-com:asm.v3" >
6+ <windowsSettings >
7+ <!-- The combination of below two tags have the following effect:
8+ 1) Per-Monitor for >= Windows 10 Anniversary Update
9+ 2) System < Windows 10 Anniversary Update
10+ -->
11+ <dpiAware xmlns =" http://schemas.microsoft.com/SMI/2005/WindowsSettings" >true/PM</dpiAware >
12+ <dpiAwareness xmlns =" http://schemas.microsoft.com/SMI/2016/WindowsSettings" >PerMonitorV2, PerMonitor</dpiAwareness >
13+ </windowsSettings >
14+ </application >
15+ </assembly >
Original file line number Diff line number Diff line change 11{
22 "profiles" : {
33 "Windows Machine" : {
4- "commandName" : " MsixPackage " ,
4+ "commandName" : " Project " ,
55 "nativeDebugging" : false
66 }
77 }
Original file line number Diff line number Diff line change 44 <ApplicationId >com.companyname.todo</ApplicationId >
55
66 <TargetFrameworks >net8.0-android;net8.0-ios</TargetFrameworks >
7+ <TargetFrameworks Condition =" $([MSBuild]::IsOSPlatform('windows'))" >$(TargetFrameworks);net8.0-windows10.0.19041.0</TargetFrameworks >
8+
79
810 <OutputType >Exe</OutputType >
911 <RootNamespace >TodoSQLite</RootNamespace >
2325 <ApplicationDisplayVersion >1.0</ApplicationDisplayVersion >
2426 <ApplicationVersion >1</ApplicationVersion >
2527
28+ <WindowsPackageType >None</WindowsPackageType >
29+ <WindowsAppSDKSelfContained Condition =" '$(IsUnpackaged)' == 'true'" >true</WindowsAppSDKSelfContained >
30+ <SelfContained Condition =" '$(IsUnpackaged)' == 'true'" >true</SelfContained >
31+
2632 <SupportedOSPlatformVersion Condition =" $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'" >11.0</SupportedOSPlatformVersion >
2733 <SupportedOSPlatformVersion Condition =" $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'" >21.0</SupportedOSPlatformVersion >
34+ <SupportedOSPlatformVersion Condition =" $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'" >10.0.19041.0</SupportedOSPlatformVersion >
35+ <TargetPlatformMinVersion Condition =" $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'" >10.0.19041.0</TargetPlatformMinVersion >
2836 </PropertyGroup >
2937 <ItemGroup >
3038 <!-- App Icon -->
You can’t perform that action at this time.
0 commit comments