Skip to content

Commit

Permalink
update icon
Browse files Browse the repository at this point in the history
  • Loading branch information
IliyaBadri committed Jan 3, 2024
1 parent 1cdc7b6 commit 325d51e
Show file tree
Hide file tree
Showing 8 changed files with 108 additions and 73 deletions.
30 changes: 27 additions & 3 deletions Notebook.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<ApplicationTitle>Notebook</ApplicationTitle>

<!-- App Identifier -->
<ApplicationId>com.companyname.notebook</ApplicationId>
<ApplicationId>ir.enterace.notebook</ApplicationId>

<!-- Versions -->
<ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
Expand All @@ -36,6 +36,14 @@
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion>
<TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion>
<GenerateAppInstallerFile>False</GenerateAppInstallerFile>
<AppxPackageSigningEnabled>True</AppxPackageSigningEnabled>
<PackageCertificateThumbprint>AAF118746F46AF0C07AB96047E6C4DDBD7DF5685</PackageCertificateThumbprint>
<AppxPackageSigningTimestampDigestAlgorithm>SHA512</AppxPackageSigningTimestampDigestAlgorithm>
<AppxAutoIncrementPackageRevision>False</AppxAutoIncrementPackageRevision>
<AppxSymbolPackageEnabled>False</AppxSymbolPackageEnabled>
<GenerateTestArtifacts>True</GenerateTestArtifacts>
<HoursBetweenUpdateChecks>0</HoursBetweenUpdateChecks>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net8.0-android|AnyCPU'">
Expand Down Expand Up @@ -72,8 +80,8 @@

<ItemGroup>
<!-- App Icon -->
<MauiIcon Include="Resources\AppIcon\appicon.svg" Color="#512BD4" />


<!-- Splash Screen -->
<MauiSplashScreen Include="Resources\Splash\splash.svg" Color="#512BD4" BaseSize="128,128" />

Expand All @@ -88,6 +96,22 @@
<MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" />
</ItemGroup>

<ItemGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'!='Release|net8.0-android|AnyCPU'">
<MauiIcon
Include="Resources\AppIcon\appicon.svg"
ForegroundFile="Resources\AppIcon\appiconfg.svg"
Color="#512BD4" />
</ItemGroup>

<ItemGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net8.0-android|AnyCPU'">
<MauiIcon
Include="Resources\AppIcon\appicon.svg"
ForegroundFile="Resources\AppIcon\androidappiconfg.svg"
Color="#512BD4" />
</ItemGroup>



<ItemGroup>
<PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" />
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="$(MauiVersion)" />
Expand Down
37 changes: 0 additions & 37 deletions Notebook.csproj.user

This file was deleted.

2 changes: 1 addition & 1 deletion Platforms/Windows/Package.appxmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
IgnorableNamespaces="uap rescap">

<Identity Name="maui-package-name-placeholder" Publisher="CN=User Name" Version="0.0.0.0" />
<Identity Name="maui-package-name-placeholder" Publisher="CN=EnterACE" Version="1.0.0.0" />

<mp:PhoneIdentity PhoneProductId="146D6A89-C92A-44A0-861B-9674B6036100" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>

Expand Down
16 changes: 16 additions & 0 deletions Properties/PublishProfiles/MSIX-win10-x86.pubxml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<PublishDir>bin\Release\net8.0-android\publish\</PublishDir>
<PublishProtocol>FileSystem</PublishProtocol>
<RuntimeIdentifier>win10-x86</RuntimeIdentifier>
<Platform>Any CPU</Platform>
<Configuration>Release</Configuration>
<TargetFramework>net8.0-windows10.0.19041.0</TargetFramework>
<PublishSingleFile>false</PublishSingleFile>
<PublishReadyToRun>false</PublishReadyToRun>
<SelfContained>True</SelfContained>
<PublishAppxPackage>true</PublishAppxPackage>
<AppxPackageDir>F:\VisualStudio\Projects\Notebook\Publish\windows\</AppxPackageDir>
</PropertyGroup>
</Project>
20 changes: 20 additions & 0 deletions Resources/AppIcon/androidappiconfg.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 4 additions & 21 deletions Resources/AppIcon/appicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 29 additions & 0 deletions Resources/AppIcon/appiconfg.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 11 additions & 11 deletions Resources/Splash/splash.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 325d51e

Please sign in to comment.