fix: Linux icon now shows up (#807)

This commit is contained in:
Alex Schwartz authored and GitHub committed 2026-03-12 12:09:41 -07:00
1 parent 581d242925
commit 85c174a6ca
2 files changed
+4

No files matched your search

+1
View File
@@ -619,6 +619,7 @@ function configureApplicationMenu(): void {
function resolveResourcePath(fileName: string): string | null {
const candidates = [
Path.join(__dirname, "../resources", fileName),
Path.join(__dirname, "../prod-resources", fileName),
Path.join(process.resourcesPath, "resources", fileName),
Path.join(process.resourcesPath, fileName),
];
+3
View File
@@ -614,6 +614,9 @@ const buildDesktopArtifact = Effect.fn("buildDesktopArtifact")(function* (
yield* assertPlatformBuildResources(options.platform, stageResourcesDir, options.verbose);
// electron-builder is filtering out stageResourcesDir directory in the AppImage for production
yield* fs.copy(stageResourcesDir, path.join(stageAppDir, "apps/desktop/prod-resources"));
const stagePackageJson: StagePackageJson = {
name: "t3-code-desktop",
version: appVersion,