fix: Linux icon now shows up (#807)
This commit is contained in:
1 parent
581d242925
commit
85c174a6ca
2 files changed
+4
No files matched your search
@@ -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),
|
||||
];
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user