Skip to content

Commit 55fbdfe

Browse files
committed
Merge commit 'e4e410d4ff09cd746d441039a16b56c2217b74cc' into release
2 parents 4134cc7 + e4e410d commit 55fbdfe

File tree

5 files changed

+282
-283
lines changed

5 files changed

+282
-283
lines changed

README.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,10 @@ Local Storage and Session Storage is stored in the AppData folder:
5353
- macOS: `~/Library/Application Support/draw.io`
5454
- Windows: `C:\Users\<USER-NAME>\AppData\Roaming\draw.io\`
5555

56-
Neither Open-source, nor open-contribution
57-
----------------------------------
56+
Not open-contribution
57+
---------------------
5858

59-
draw.io is not open source software. The complete source code required to build the app from scratch is not available.
60-
draw.io is also closed to contributions.
59+
draw.io is closed to contributions.
6160

6261
The level of complexity of this project means that even simple changes
6362
can break a _lot_ of other moving parts. The amount of testing required

electron-builder-linux-mac.json

+5
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@
5858
"arm64"
5959
]
6060
}
61+
],
62+
},
63+
"rpm": {
64+
"fpm": [
65+
"--rpm-rpmbuild-define=_build_id_links none"
6166
]
6267
},
6368
"fileAssociations": [

src/main/electron.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1602,7 +1602,7 @@ function exportDiagram(event, args, directFinalize)
16021602
//This height adjustment fixes the output. TODO Test more cases
16031603
height: (args.pageHeight * 1.025) * MICRON_TO_PIXEL
16041604
},
1605-
landscape: args.pageWidth > args.pageHeight,
1605+
//landscape: args.pageWidth > args.pageHeight, // This doesn't work in windows and broke the page shape in mac
16061606
marginsType: 1 // no margin
16071607
};
16081608

0 commit comments

Comments
 (0)