Skip to content

Commit

Permalink
Make app fully portable with embedded icon and update UI text to Wind…
Browse files Browse the repository at this point in the history
…ows 11-specific
  • Loading branch information
ninjaeon committed Nov 16, 2024
1 parent 00a7e87 commit e7b25ae
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ jobs:
Write-Host "Found executable at: $exePath"
Copy-Item $exePath -Destination ".\ReleasePackage\"
# Copy icon and any other necessary files
Copy-Item ".\app.ico" -Destination ".\ReleasePackage\"
# Copy documentation
Copy-Item ".\README.md" -Destination ".\ReleasePackage\"
# List contents before creating ZIP
Expand Down Expand Up @@ -104,14 +103,14 @@ jobs:
$changelog
## Package Contents
- WelcomeScreenCustomizer.exe (Main application)
- app.ico (Application icon)
- WelcomeScreenCustomizer.exe (Main application with embedded icon)
- README.md (Documentation)
## Important Notes
- This application requires administrative privileges
- Preventing OS override is required for the changes to persist
- Compatible with Windows 11 only
- The application is now fully portable - no additional files needed!
## Installation
1. Download and extract WelcomeScreenCustomizer.zip
Expand Down
4 changes: 2 additions & 2 deletions WelcomeScreenCustomizer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public MainForm()
private void InitializeComponents()
{
// Set form properties
this.Text = "Windows 10/11 Welcome Login Screen Background Chooser";
this.Text = "Windows 11 Welcome Screen Customizer";
this.Size = new Size(800, 600);
this.FormBorderStyle = FormBorderStyle.FixedSingle;
this.MaximizeBox = false;
Expand Down Expand Up @@ -61,7 +61,7 @@ private void InitializeComponents()
// Title label
Label titleLabel = new Label
{
Text = "Windows 10/11 Welcome Login Screen Background Chooser",
Text = "Windows 11 Welcome Screen Customizer",
Font = new Font("Segoe UI", 16F, FontStyle.Regular),
ForeColor = primaryColor,
AutoSize = false,
Expand Down
12 changes: 6 additions & 6 deletions WelcomeScreenCustomizer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<ApplicationManifest>app.manifest</ApplicationManifest>
<ApplicationIcon>app.ico</ApplicationIcon>
<Version>1.0.3</Version>
<FileVersion>1.0.3.0</FileVersion>
<AssemblyVersion>1.0.3.0</AssemblyVersion>
<Version>1.0.5</Version>
<FileVersion>1.0.5.0</FileVersion>
<AssemblyVersion>1.0.5.0</AssemblyVersion>
<Title>Windows 11 Welcome Screen Customizer</Title>
<Description>A utility to customize the Windows 11 welcome/login screen background</Description>
<Company>ninjaeon</Company>
Expand Down Expand Up @@ -55,9 +55,9 @@
<None Include="app.manifest" />
</ItemGroup>
<ItemGroup>
<Content Include="app.ico">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<EmbeddedResource Include="app.ico">
<LogicalName>app.ico</LogicalName>
</EmbeddedResource>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

0 comments on commit e7b25ae

Please sign in to comment.