Is not supported by our current electron-builder version to build. MacOS Catalina (the oldest macOS version supported by Github Actions) We're still drafting the workflow, so I don't want to wait for all the instances * Expose GITHUB_TOKEN for release CI script I've commented out the country instances for now, just in case * Preview releasing instances' build from Github Actions * Build on CI on Windows/macOS as a matrix * Run End-to-End tests in CI using xvfb-run * Checkout code before trying to build in CI * Add Github Actions to test project can build on pushes Maybe I will ask ability to reuse DropDMG CLI / support it. Second, burn in hell, Apple (yes, it seems Apple don't care about developers who don't distribute apps via AppStore).ĭropDMG app creates correctly positioned DMG windows. First, because Perl solution format is deprecated for ages already, and maybe Apple will drop it sometime. I do not have time and plans to implement decent solution (as it was in Perl). if you set both x/y and width/height - it is used as is.if you set only size - x/y is set as for "background image is set" step.Yes, assumed that 1440 it is height of user display (lesser of two evils). if background image is set - then x is set to 400 (as before), and y is set to (1440 - backgroundHeight) / 2 where backgroundHeight it is computed automatically height of specified background image.if background color is used - window bounds is not set and Finder will position your windows in center of the screen with some OS specific size.if you don't set window position at all, then:.Enjoy :(Īs I don't have time to convert Perl solution in Go (as Go is the only language that should be used for such tools, forget about nodejs or python), for now following solution is implemented: And now Apple killed mac carbon 32-bit completely. Irony that used by electron-builder solution in Perl is able to set windows position from top because uses deprecated format. If you will set only size, then Finder will ignore size, and your background image will look ugly.Īpple keep silent and don't provide not only tool to customize DMG, but even docs about DSStore format. So, as you don't know user display screen height, you cannot correctly set window bounds. Problem - window position is computed from bottom, and not from top. ) at /private/var/folders/9c/tprqfcrs66qff3x86tdp3_xw0000gn/T/t-yGVUjs/ line 4.īEGIN failed-compilation aborted at /private/var/folders/9c/tprqfcrs66qff3x86tdp3_xw0000gn/T/t-yGVUjs/ line 4.Īll existing solutions, including appdmg, are bad and cannot help to create correctly positioned DMG Windows. Command failed: /usr/bin/perl /private/var/folders/9c/tprqfcrs66qff3x86tdp3_xw0000gn/T/t-yGVUjs/Ĭan't locate Mac/Memory.pm in (you may need to install the Mac::Memory module) contains: /Library/Perl/5.18/darwin-thread-multi-2level /Library/Perl/5.18 /Network/Library/Perl/5.18/darwin-thread-multi-2level /Network/Library/Perl/5.18 /Library/Perl/Updates/5.18.4/darwin-thread-multi-2level /Library/Perl/Updates/5.18.4 /System/Library/Perl/5.18/darwin-thread-multi-2level /System/Library/Perl/5.18 /System/Library/Perl/Extras/5.18/darwin-thread-multi-2level /System/Library/Perl/Extras/5.18.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |