Skip to content

Commit 0da2b9d

Browse files
committed
Initial commit: GitHub Wallpaper v1.0.0
0 parents  commit 0da2b9d

32 files changed

Lines changed: 3718 additions & 0 deletions

.gitattributes

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto
3+
4+
# Source code
5+
*.cs text diff=csharp
6+
*.xaml text
7+
*.csproj text
8+
*.sln text
9+
10+
# Scripts
11+
*.bat text eol=crlf
12+
*.ps1 text eol=crlf
13+
*.sh text eol=lf
14+
15+
# Documentation
16+
*.md text
17+
*.txt text
18+
19+
# Graphics
20+
*.png binary
21+
*.jpg binary
22+
*.jpeg binary
23+
*.gif binary
24+
*.ico binary
25+
*.webp binary
26+
27+
# Archives
28+
*.zip binary
29+
30+
# NuGet
31+
*.nupkg binary
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
name: Bug Report
3+
about: Report a bug to help us improve
4+
title: '[BUG] '
5+
labels: bug
6+
assignees: ''
7+
---
8+
9+
## 🐛 Bug Description
10+
11+
A clear and concise description of what the bug is.
12+
13+
## 📋 Steps to Reproduce
14+
15+
1. Go to '...'
16+
2. Click on '...'
17+
3. See error
18+
19+
## ✅ Expected Behavior
20+
21+
What you expected to happen.
22+
23+
## ❌ Actual Behavior
24+
25+
What actually happened.
26+
27+
## 📸 Screenshots
28+
29+
If applicable, add screenshots to help explain your problem.
30+
31+
## 💻 Environment
32+
33+
- **OS**: Windows 10 / Windows 11
34+
- **Windows Version**: (Win + R → `winver`)
35+
- **.NET Version**: (if known)
36+
- **Application Version**:
37+
38+
## 📝 Additional Context
39+
40+
Add any other context about the problem here.
41+
42+
## 🔍 Logs
43+
44+
If you have any error logs or console output, paste them here:
45+
46+
```
47+
[Paste logs here]
48+
```
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
name: Feature Request
3+
about: Suggest an idea for this project
4+
title: '[FEATURE] '
5+
labels: enhancement
6+
assignees: ''
7+
---
8+
9+
## 🚀 Feature Request
10+
11+
**Is your feature request related to a problem? Please describe.**
12+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
13+
14+
**Describe the solution you'd like**
15+
A clear and concise description of what you want to happen.
16+
17+
**Describe alternatives you've considered**
18+
A clear and concise description of any alternative solutions or features you've considered.
19+
20+
**Additional context**
21+
Add any other context or screenshots about the feature request here.
22+
23+
**Would you be willing to contribute this feature?**
24+
- [ ] Yes, I can work on this
25+
- [ ] No, but I can help test it
26+
- [ ] No, just suggesting

.github/workflows/build.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: Build and Release
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
tags:
7+
- 'v*'
8+
pull_request:
9+
branches: [ main ]
10+
11+
jobs:
12+
build:
13+
runs-on: windows-latest
14+
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
- name: Setup .NET
19+
uses: actions/setup-dotnet@v4
20+
with:
21+
dotnet-version: 8.0.x
22+
23+
- name: Restore dependencies
24+
run: dotnet restore
25+
26+
- name: Build
27+
run: dotnet build --configuration Release --no-restore
28+
29+
- name: Publish Self-Contained
30+
run: dotnet publish -c Release -r win-x64 --self-contained true -p:PublishSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true -o ./publish
31+
32+
- name: Upload Artifact
33+
uses: actions/upload-artifact@v4
34+
with:
35+
name: GitHubWallpaper
36+
path: ./publish/GitHubWallpaper.exe
37+
38+
- name: Create Release
39+
if: startsWith(github.ref, 'refs/tags/')
40+
uses: softprops/action-gh-release@v1
41+
with:
42+
files: ./publish/GitHubWallpaper.exe
43+
draft: false
44+
prerelease: false
45+
generate_release_notes: true
46+
env:
47+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
## Ignore Visual Studio temporary files, build results, and files generated by popular Visual Studio add-ons.
2+
3+
# User-specific files
4+
*.rsuser
5+
*.suo
6+
*.user
7+
*.userosscache
8+
*.sln.docstates
9+
10+
# Build results
11+
[Dd]ebug/
12+
[Dd]ebugPublic/
13+
[Rr]elease/
14+
[Rr]eleases/
15+
x64/
16+
x86/
17+
[Ww][Ii][Nn]32/
18+
[Aa][Rr][Mm]/
19+
[Aa][Rr][Mm]64/
20+
bld/
21+
[Bb]in/
22+
[Oo]bj/
23+
[Ll]og/
24+
[Ll]ogs/
25+
publish/
26+
27+
# Visual Studio cache/options directory
28+
.vs/
29+
30+
# Visual Studio Code
31+
.vscode/
32+
33+
# .NET Core
34+
project.lock.json
35+
project.fragment.lock.json
36+
artifacts/
37+
38+
# Files built by Visual Studio
39+
*_i.c
40+
*_p.c
41+
*_h.h
42+
*.ilk
43+
*.meta
44+
*.obj
45+
*.iobj
46+
*.pch
47+
*.pdb
48+
*.ipdb
49+
*.pgc
50+
*.pgd
51+
*.rsp
52+
*.sbr
53+
*.tlb
54+
*.tli
55+
*.tlh
56+
*.tmp
57+
*.tmp_proj
58+
*_wpftmp.csproj
59+
*.log
60+
*.vspscc
61+
*.vssscc
62+
.builds
63+
*.pidb
64+
*.svclog
65+
*.scc
66+
67+
# NuGet Packages
68+
*.nupkg
69+
*.snupkg
70+
**/packages/*
71+
!**/packages/build/
72+
*.nuget.props
73+
*.nuget.targets
74+
75+
# Others
76+
*.cache
77+
*.publishsettings
78+
orleans.codegen.cs
79+
80+
# Local application data
81+
config.json
82+
*.db
83+
*.sqlite
84+
85+
# Rider
86+
.idea/
87+
88+
# User-specific files (MonoDevelop/Xamarin Studio)
89+
*.userprefs
90+
91+
# Mono auto generated files
92+
mono_crash.*
93+
94+
# Windows image file caches
95+
Thumbs.db
96+
ehthumbs.db
97+
98+
# Folder config file
99+
Desktop.ini
100+
101+
# Recycle Bin used on file shares
102+
$RECYCLE.BIN/
103+
104+
# Mac files
105+
.DS_Store
106+
107+
# Test coverage
108+
coverage/
109+
*.coverage
110+
*.coveragexml
111+
112+
# Benchmark results
113+
BenchmarkDotNet.Artifacts/

App.xaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<Application x:Class="GitHubWallpaper.App"
2+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4+
ShutdownMode="OnExplicitShutdown">
5+
<Application.Resources>
6+
<ResourceDictionary>
7+
<ResourceDictionary.MergedDictionaries>
8+
<!-- Add any resource dictionaries here if needed -->
9+
</ResourceDictionary.MergedDictionaries>
10+
</ResourceDictionary>
11+
</Application.Resources>
12+
</Application>

0 commit comments

Comments
 (0)