mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #284] [MERGED] refactor: group Windows-specific files under win/ #4546
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#4546
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/284
Author: @LukaTheHero
Created: 4/28/2026
Status: ✅ Merged
Merged: 4/28/2026
Merged by: @LukaTheHero
Base:
main← Head:refactor/group-windows-files-under-win📝 Commits (4)
9d1bcf8refactor: group Windows-specific files under win/8065c67docs: Update CONTRIBUTING.md6b5c44edocs(contributing): add a slash3d62a4dMerge branch 'main' into refactor/group-windows-files-under-win📊 Changes
15 files changed (+34 additions, -23 deletions)
View changed files
📝
.github/labeler.yml(+4 -2)📝
.github/workflows/build-container.yml(+2 -1)📝
.github/workflows/pull-request-checks.yml(+2 -1)📝
.gitignore(+1 -1)📝
CLAUDE.md(+2 -2)📝
CONTRIBUTING.md(+5 -5)📝
packages/server/src/services/setup/taskbar-shortcut-migration.ts(+15 -8)📝
scripts/check-tracked-installers.mjs(+1 -1)📝
scripts/versioning.mjs(+2 -2)📝
win/installer/app-icon.ico(+0 -0)📝
win/installer/gen-ico.py(+0 -0)📝
win/installer/install.bat(+0 -0)📝
win/installer/installer.nsi(+0 -0)📝
win/launcher/Program.cs(+0 -0)📝
win/launcher/build.ps1(+0 -0)📄 Description
Summary
Addresses OceanBby's review comment on #277: Windows-specific tooling lived scattered across the repo (
installer/at root,tools/win-launcher/under a generictools/dir). Mirroring theandroid/pattern, this consolidates everything Windows-specific under a singlewin/subtree.Files that intentionally remain at the repo root:
start.bat— user-facing entry point; existing Start Menu / Desktop shortcuts target it by absolute path.MarinaraLauncher.exe— committed binary; existing migrated shortcuts reference it by absolute path.Touch list
paths-ignoreinbuild-container.ymlandpull-request-checks.ymlnow excludewin/**+MarinaraLauncher.exeinstead ofinstaller/**(covers OceanBby's existing container exclusion plus the previously-uncovered launcher source).installerlabel towindows; glob coverswin/**,MarinaraLauncher.exe,start.bat.packages/server/src/services/setup/taskbar-shortcut-migration.ts):<installDir>/win/installer/app-icon.ico.IconLocationstill references the legacy<installDir>/installer/app-icon.icopath are auto-repaired on next server boot. Users who already migrated under the pre-win/layout don't need any manual action.scripts/versioning.mjs) and the installer-artifact guard (scripts/check-tracked-installers.mjs) updated to point atwin/installer/*.CLAUDE.md"Version Truth" +CONTRIBUTING.mdrelease table referencewin/installer/installer.nsiandwin/installer/install.bat..gitignore: tracked-installer rule is nowwin/installer/*.exe.git mvwas used throughout, so file history is preserved.Manual verification
start.bat→ server still boots and migration still runs.Target=MarinaraLauncher.exeandIconLocation=<installDir>\win\installer\app-icon.ico,0..lnk'sIconLocationto the legacy<installDir>\installer\app-icon.ico,0path → re-launch → on next boot, migration auto-repairs to thewin/location.pnpm version:checkandpnpm guard:installer-artifactspass.win/installer/installer.nsiand confirmBuild & Push Container Imageis skipped (paths-ignore working).Note
No functional change for end users — same migration behavior, same launcher binary at the same install-root path. Pure repo reorganization to keep Windows-specific files together (matches
android/convention).No linked issue. Direct follow-up to the review thread on #277.
Summary by CodeRabbit
Bug Fixes
Chores
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.