Skip to content

Commit eedd26f

Browse files
committed
reuploading missing files
1 parent 6944084 commit eedd26f

581 files changed

Lines changed: 104919 additions & 26 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.clang-format

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,4 @@ Standard: Cpp11
100100
TabWidth: 4
101101
UseTab: Never
102102
WhitespaceSensitiveMacros: ['WINDOWER_SUPPRESS']
103-
...
103+
...

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,4 @@ csharp_space_between_method_call_parameter_list_parentheses = false
7373
csharp_space_between_parentheses = false
7474

7575
csharp_preserve_single_line_statements = false
76-
csharp_preserve_single_line_blocks = true
76+
csharp_preserve_single_line_blocks = true

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* text=auto
1+
* text=auto

.github/workflows/ci.yml

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
name: Build Project
2+
3+
on:
4+
push:
5+
branches: [ 'main', 'stable' ]
6+
tags: [ 'v*' ] # <-- Tells GitHub to listen for version tags
7+
pull_request:
8+
branches: [ 'main', 'stable' ]
9+
workflow_dispatch:
10+
11+
defaults:
12+
run:
13+
shell: pwsh
14+
15+
jobs:
16+
build:
17+
name: Build Application
18+
runs-on: windows-latest # <-- Provisions the VS 2026 / v145 toolset
19+
if: |
20+
!contains(github.event.head_commit.message, '***NO_CI***') &&
21+
!contains(github.event.head_commit.message, '[skip ci]')
22+
steps:
23+
- name: Set up build environment
24+
uses: microsoft/setup-msbuild@v2
25+
26+
- name: Set up NuGet
27+
uses: nuget/setup-nuget@v2
28+
29+
- name: Checkout repository
30+
uses: actions/checkout@v4
31+
with:
32+
submodules: recursive
33+
fetch-depth: 0
34+
35+
- name: Build Core Application
36+
run: |
37+
msbuild fenestra.sln -t:'restore;build' -p:configuration=release -p:PlatformToolset=v143 -p:TreatWarningsAsErrors=false -p:RunCodeAnalysis=false -p:ReleaseBuild=true -m -nowarn:NU1503
38+
39+
- name: Build Installer
40+
run: |
41+
nuget restore installer.sln
42+
msbuild installer.sln -t:'build' -p:configuration=release -m -nowarn:NU1503
43+
44+
- name: Upload build artifacts
45+
uses: actions/upload-artifact@v4
46+
with:
47+
name: compiled-binaries
48+
path: build/bin/release/
49+
50+
# --- UPDATED: Automated Release Pipeline ---
51+
- name: Publish to GitHub Releases
52+
if: startsWith(github.ref, 'refs/tags/v')
53+
uses: softprops/action-gh-release@v2
54+
with:
55+
files: |
56+
build/bin/release/windower.msi
57+
build/bin/release/windower.zip
58+
build/bin/release/windower.portable.zip
59+
generate_release_notes: true

.github/workflows/deploy.ps1

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
$build = "test"
2+
$repo = ($env:GITHUB_REPOSITORY -Split '/')[1] ?? $env:GITHUB_REPOSITORY
3+
&ssh "${env:SSH_USER}@${env:SSH_HOST}" (@(
4+
"rm -rf ~/staging/${repo}",
5+
"mkdir -p ~/staging/${repo}"
6+
) -Join '&&')
7+
&scp -r './staging/*' "${env:SSH_USER}@${env:SSH_HOST}:~/staging/${repo}"
8+
&ssh "${env:SSH_USER}@${env:SSH_HOST}" (@(
9+
"mv -f ~/staging/${repo}/files/* ${env:FILES_PATH}/",
10+
"mv -f ${env:SYMBOLS_PATH}/ ${env:SYMBOLS_PATH}~/",
11+
"mv -f ~/staging/${repo}/symbols/ ${env:SYMBOLS_PATH}/",
12+
"rm -r ${env:SYMBOLS_PATH}~/"
13+
"rm -r ~/staging/${repo}"
14+
) -Join '&&')
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
$tools = Join-Path ${env:ProgramFiles(x86)} "Windows Kits"
2+
$srctool = Get-ChildItem $tools -Filter "srctool.exe" -Recurse |
3+
Where-Object { $_.FullName -Match '[/\\]x86[/\\]' }
4+
$pdbstr = Get-ChildItem $tools -Filter "pdbstr.exe" -Recurse |
5+
Where-Object { $_.FullName -Match '[/\\]x86[/\\]' }
6+
7+
$outDir = Join-Path "build" "bin" | Join-Path -ChildPath "release"
8+
9+
Get-ChildItem -Path $outDir -File -Recurse -Filter "*.pdb" |
10+
ForEach-Object {
11+
"Indexing sources for $(
12+
(Resolve-Path $_.FullName -Relative).Replace(".\", ''))..."
13+
14+
$index = New-TemporaryFile
15+
$url = "https://raw.githubusercontent.com/" +
16+
"$env:GITHUB_REPOSITORY/$env:GITHUB_SHA/"
17+
18+
("SRCSRV: ini ------------------------------------------------",
19+
"VERSION=2",
20+
"VERCTRL=http",
21+
"SRCSRV: variables ------------------------------------------",
22+
"HTTP_ALIAS=$url",
23+
"HTTP_EXTRACT_TARGET=%HTTP_ALIAS%%var2%",
24+
"SRCSRVTRG=%HTTP_EXTRACT_TARGET%",
25+
"SRCSRV: source files ---------------------------------------") |
26+
Out-File $index.FullName -Encoding "ASCII"
27+
28+
& $srctool -r $_.FullName |
29+
Where-Object { Test-Path $_ -PathType Leaf } |
30+
ForEach-Object {
31+
try {
32+
$cleaned = & git ls-files $_ 2>$null
33+
if ($cleaned.Length -ne 0) {
34+
" $url$cleaned"
35+
"$($_.path)*$cleaned" |
36+
Out-File -Append $index.FullName -Encoding "ASCII"
37+
}
38+
} catch {}
39+
}
40+
41+
"SRCSRV: end ------------------------------------------------" |
42+
Out-File -Append $index.FullName -Encoding "ASCII"
43+
44+
& $pdbstr -w -p:$_.FullName -s:srcsrv -i:$index.FullName
45+
46+
Remove-Item $index.FullName -Force
47+
48+
""
49+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
$tools = Join-Path ${env:ProgramFiles(x86)} "Windows Kits"
2+
$symstore = Get-ChildItem $tools -Filter "symstore.exe" -Recurse |
3+
Where-Object { $_.FullName -Match '[/\\]x86[/\\]' }
4+
5+
Write-Output "Downloading symbol database..."
6+
New-Item -ItemType Directory -Force -Path './staging/symbols' *>$null
7+
&scp -r "${env:SSH_USER}@${env:SSH_HOST}:${env:SYMBOLS_PATH}/*" './staging/symbols'
8+
9+
Write-Output "Updating symbol database..."
10+
$cutoffDate = (Get-Date).AddDays(-$env:SYMBOLS_DAYS_TO_KEEP)
11+
New-Item -ItemType Directory -Force -Path './staging/symbols' *>$null
12+
Get-ChildItem $stagingSymbols -Directory |
13+
ForEach-Object {
14+
Get-ChildItem $_.FullName -Directory |
15+
Sort-Object -Property CreationTime -Descending |
16+
Select-Object -Skip $env:SYMBOLS_KEEP_LAST |
17+
Where-Object { $_.CreationTime -lt $cutoffDate } |
18+
Remove-Item -Recurse -Force
19+
}
20+
&$symstore add /r /f './temp/symbols' /s './staging/symbols' /t '.' /compress
21+
Remove-Item './staging/symbols/000Admin' -Recurse -Force -ErrorAction Ignore

.gitignore

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
1-
# Build Files
2-
/build
3-
/packages
4-
5-
# IDE Files
6-
/.vs
7-
/.vscode
8-
9-
# User Files
10-
*.user
11-
12-
# Resource Editor Files
13-
*.aps
1+
# Build folders
2+
bin/
3+
obj/
4+
x64/
5+
x86/
6+
Debug/
7+
Release/
8+
.vs/

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
url = https://github.com/Microsoft/vcpkg.git
44
[submodule "extern/luajit/repo"]
55
path = extern/luajit/repo
6-
url = https://luajit.org/git/luajit.git
6+
url = https://luajit.org/git/luajit.git

0 commit comments

Comments
 (0)