-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
339 additions
and
0 deletions.
There are no files selected for viewing
238 changes: 238 additions & 0 deletions
238
Solitaire.XamarinMac/Assets.xcassets/AppIcon.appiconset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,238 @@ | ||
{ | ||
"images": [ | ||
{ | ||
"idiom": "iphone", | ||
"scale": "2x", | ||
"size": "20x20" | ||
}, | ||
{ | ||
"idiom": "iphone", | ||
"scale": "3x", | ||
"size": "20x20" | ||
}, | ||
{ | ||
"idiom": "iphone", | ||
"scale": "2x", | ||
"size": "29x29" | ||
}, | ||
{ | ||
"idiom": "iphone", | ||
"scale": "3x", | ||
"size": "29x29" | ||
}, | ||
{ | ||
"idiom": "iphone", | ||
"scale": "2x", | ||
"size": "40x40" | ||
}, | ||
{ | ||
"idiom": "iphone", | ||
"scale": "3x", | ||
"size": "40x40" | ||
}, | ||
{ | ||
"idiom": "iphone", | ||
"scale": "2x", | ||
"size": "60x60" | ||
}, | ||
{ | ||
"idiom": "iphone", | ||
"scale": "3x", | ||
"size": "60x60" | ||
}, | ||
{ | ||
"idiom": "ipad", | ||
"scale": "1x", | ||
"size": "20x20" | ||
}, | ||
{ | ||
"idiom": "ipad", | ||
"scale": "2x", | ||
"size": "20x20" | ||
}, | ||
{ | ||
"idiom": "ipad", | ||
"scale": "1x", | ||
"size": "29x29" | ||
}, | ||
{ | ||
"idiom": "ipad", | ||
"scale": "2x", | ||
"size": "29x29" | ||
}, | ||
{ | ||
"idiom": "ipad", | ||
"scale": "1x", | ||
"size": "40x40" | ||
}, | ||
{ | ||
"idiom": "ipad", | ||
"scale": "2x", | ||
"size": "40x40" | ||
}, | ||
{ | ||
"idiom": "ipad", | ||
"scale": "1x", | ||
"size": "76x76" | ||
}, | ||
{ | ||
"idiom": "ipad", | ||
"scale": "2x", | ||
"size": "76x76" | ||
}, | ||
{ | ||
"idiom": "ipad", | ||
"scale": "2x", | ||
"size": "83.5x83.5" | ||
}, | ||
{ | ||
"idiom": "ios-marketing", | ||
"scale": "1x", | ||
"size": "1024x1024" | ||
}, | ||
{ | ||
"idiom": "car", | ||
"scale": "2x", | ||
"size": "60x60" | ||
}, | ||
{ | ||
"idiom": "car", | ||
"scale": "3x", | ||
"size": "60x60" | ||
}, | ||
{ | ||
"idiom": "watch", | ||
"role": "notificationCenter", | ||
"scale": "2x", | ||
"size": "24x24", | ||
"subtype": "38mm" | ||
}, | ||
{ | ||
"idiom": "watch", | ||
"role": "notificationCenter", | ||
"scale": "2x", | ||
"size": "27.5x27.5", | ||
"subtype": "42mm" | ||
}, | ||
{ | ||
"idiom": "watch", | ||
"role": "companionSettings", | ||
"scale": "2x", | ||
"size": "29x29" | ||
}, | ||
{ | ||
"idiom": "watch", | ||
"role": "companionSettings", | ||
"scale": "3x", | ||
"size": "29x29" | ||
}, | ||
{ | ||
"idiom": "watch", | ||
"role": "appLauncher", | ||
"scale": "2x", | ||
"size": "40x40", | ||
"subtype": "38mm" | ||
}, | ||
{ | ||
"idiom": "watch", | ||
"role": "appLauncher", | ||
"scale": "2x", | ||
"size": "44x44", | ||
"subtype": "40mm" | ||
}, | ||
{ | ||
"idiom": "watch", | ||
"role": "appLauncher", | ||
"scale": "2x", | ||
"size": "50x50", | ||
"subtype": "44mm" | ||
}, | ||
{ | ||
"idiom": "watch", | ||
"role": "quickLook", | ||
"scale": "2x", | ||
"size": "86x86", | ||
"subtype": "38mm" | ||
}, | ||
{ | ||
"idiom": "watch", | ||
"role": "quickLook", | ||
"scale": "2x", | ||
"size": "98x98", | ||
"subtype": "42mm" | ||
}, | ||
{ | ||
"idiom": "watch", | ||
"role": "quickLook", | ||
"scale": "2x", | ||
"size": "108x108", | ||
"subtype": "44mm" | ||
}, | ||
{ | ||
"idiom": "watch-marketing", | ||
"scale": "1x", | ||
"size": "1024x1024" | ||
}, | ||
{ | ||
"idiom": "mac", | ||
"scale": "1x", | ||
"size": "16x16" | ||
}, | ||
{ | ||
"idiom": "mac", | ||
"scale": "2x", | ||
"size": "16x16" | ||
}, | ||
{ | ||
"idiom": "mac", | ||
"scale": "1x", | ||
"size": "32x32" | ||
}, | ||
{ | ||
"filename": "icon64.png", | ||
"idiom": "mac", | ||
"scale": "2x", | ||
"size": "32x32" | ||
}, | ||
{ | ||
"idiom": "mac", | ||
"scale": "1x", | ||
"size": "128x128" | ||
}, | ||
{ | ||
"filename": "icon256.png", | ||
"idiom": "mac", | ||
"scale": "2x", | ||
"size": "128x128" | ||
}, | ||
{ | ||
"idiom": "mac", | ||
"scale": "1x", | ||
"size": "256x256" | ||
}, | ||
{ | ||
"filename": "icon512.png", | ||
"idiom": "mac", | ||
"scale": "2x", | ||
"size": "256x256" | ||
}, | ||
{ | ||
"filename": "icon512-1.png", | ||
"idiom": "mac", | ||
"scale": "1x", | ||
"size": "512x512" | ||
}, | ||
{ | ||
"idiom": "mac", | ||
"scale": "2x", | ||
"size": "512x512" | ||
} | ||
], | ||
"info": { | ||
"author": "xcode", | ||
"version": 1 | ||
}, | ||
"properties": { | ||
"pre-rendered": false | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>com.apple.security.cs.allow-jit</key> | ||
<true/> | ||
<key>com.apple.security.automation.apple-events</key> | ||
<true/> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CFBundleDevelopmentRegion</key> | ||
<string>en</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>com.AvaloniaUI.Net.Solitaire</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundleName</key> | ||
<string>Solitaire</string> | ||
<key>CFBundlePackageType</key> | ||
<string>APPL</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>1.0</string> | ||
<key>CFBundleSignature</key> | ||
<string>????</string> | ||
<key>CFBundleVersion</key> | ||
<string>1</string> | ||
<key>NSHumanReadableCopyright</key> | ||
<string>${AuthorCopyright:HtmlEncode}</string> | ||
<key>NSMainStoryboardFile</key> | ||
<string>Main</string> | ||
<key>NSPrincipalClass</key> | ||
<string>NSApplication</string> | ||
<key>XSAppIconAssets</key> | ||
<string>Assets.xcassets/AppIcon.appiconset</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
using System; | ||
using System.Diagnostics; | ||
using Avalonia; | ||
|
||
namespace Solitaire.Desktop; | ||
|
||
sealed class Program | ||
{ | ||
// Initialization code. Don't use any Avalonia, third-party APIs or any | ||
// SynchronizationContext-reliant code before AppMain is called: things aren't initialized | ||
// yet and stuff might break. | ||
[STAThread] | ||
public static void Main(string[] args) | ||
{ | ||
Trace.Listeners.Add(new ConsoleTraceListener()); | ||
BuildAvaloniaApp() | ||
.StartWithClassicDesktopLifetime(args); | ||
} | ||
|
||
// Avalonia configuration, don't remove; also used by visual designer. | ||
public static AppBuilder BuildAvaloniaApp() | ||
=> AppBuilder.Configure<App>() | ||
.UseAvaloniaNative() | ||
.UseSkia() | ||
.LogToTrace(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<OutputType>Exe</OutputType> | ||
<TargetFramework>net9.0-macos</TargetFramework> | ||
<Nullable>enable</Nullable> | ||
<ApplicationName>Solitaire</ApplicationName> | ||
<SupportedOSPlatformVersion>14.0</SupportedOSPlatformVersion> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<EnableCodeSigning>true</EnableCodeSigning> | ||
<CodesignKey>Developer ID Application: AVALONIAUI OU (9D486DVKN8)</CodesignKey> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Avalonia.Native" Version="$(AvaloniaVersion)" /> | ||
<PackageReference Include="Avalonia.Skia" Version="$(AvaloniaVersion)" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\Solitaire\Solitaire.csproj" /> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters