authorgravatar for alexschwartz01@gmail.comAlex Schwartz <alexschwartz01@gmail.com> 2026-03-12 15:09:41-04:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-03-12 12:09:41-07:00
log85c174a6cac04b4fda68f311a904af0435c85807
tree05291f61ed64ee2325bf54bed9ec62f53e3c46f9
parent581d242925f80079b8add8433e0b1614bd362d88
signature Signed by PGP key B5690EEEBB952194

fix: Linux icon now shows up (#807)


2 files changed, 4 insertions(+), 0 deletions(-)

apps/desktop/src/main.ts+1
...@@ -619,6 +619,7 @@ function configureApplicationMenu(): void {...@@ -619,6 +619,7 @@ function configureApplicationMenu(): void {
619function resolveResourcePath(fileName: string): string | null {619function resolveResourcePath(fileName: string): string | null {
620 const candidates = [620 const candidates = [
621 Path.join(__dirname, "../resources", fileName),621 Path.join(__dirname, "../resources", fileName),
622 Path.join(__dirname, "../prod-resources", fileName),
622 Path.join(process.resourcesPath, "resources", fileName),623 Path.join(process.resourcesPath, "resources", fileName),
623 Path.join(process.resourcesPath, fileName),624 Path.join(process.resourcesPath, fileName),
624 ];625 ];
scripts/build-desktop-artifact.ts+3
...@@ -614,6 +614,9 @@ const buildDesktopArtifact = Effect.fn("buildDesktopArtifact")(function* (...@@ -614,6 +614,9 @@ const buildDesktopArtifact = Effect.fn("buildDesktopArtifact")(function* (
614614
615 yield* assertPlatformBuildResources(options.platform, stageResourcesDir, options.verbose);615 yield* assertPlatformBuildResources(options.platform, stageResourcesDir, options.verbose);
616616
617 // electron-builder is filtering out stageResourcesDir directory in the AppImage for production
618 yield* fs.copy(stageResourcesDir, path.join(stageAppDir, "apps/desktop/prod-resources"));
619
617 const stagePackageJson: StagePackageJson = {620 const stagePackageJson: StagePackageJson = {
618 name: "t3-code-desktop",621 name: "t3-code-desktop",
619 version: appVersion,622 version: appVersion,