TypeScript
fix: Linux icon now shows up (#807)
Alex Schwartz85c174a6cac0
diff --git a/apps/desktop/src/main.ts b/apps/desktop/src/main.tsindex 443492ada7e..1631046a6ec 100644--- a/apps/desktop/src/main.ts+++ b/apps/desktop/src/main.ts@@ -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),];diff --git a/scripts/build-desktop-artifact.ts b/scripts/build-desktop-artifact.tsindex aebf11d5cae..0b875721fd1 100644--- a/scripts/build-desktop-artifact.ts+++ b/scripts/build-desktop-artifact.ts@@ -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,