Code Monkey home page Code Monkey logo

Comments (4)

maxwxyz avatar maxwxyz commented on July 18, 2024

@adrianinsaval what do you need to implement this?

from freecad-bundle.

cbenhagen avatar cbenhagen commented on July 18, 2024

I evaluated different methods to create a nice DMG. The python package dmgbuild seems to be the most appropriate to use here.

  1. Install with pip install "dmgbuild[badge_icons]"
  2. Create a settings.py with this content:
background = "builtin-arrow"
files = ["/Applications/FreeCAD.app"]
symlinks = {"Applications": "/Applications"}
badge_icon = "/Applications/FreeCAD.app/Contents/Resources/freecad.icns"
window_rect = ((100, 100), (670, 250))
icon_locations = {"FreeCAD.app": (100, 100), "Applications": (530, 100)}
  1. dmgbuild -s settings.py "FreeCAD" FreeCAD.dmg; open FreeCAD.dmg
Screenshot 2024-06-09 at 12 17 56

This example uses the built-in default arrow of the tool but I am sure someone will come up with a nicer background.

It looks like there are currently different scripts being used to create the stable release and the weekly builds. Are there plans to unify them?

from freecad-bundle.

cbenhagen avatar cbenhagen commented on July 18, 2024

Background discussion topic on Discord:
https://discord.com/channels/870877411049357352/1249312427624108032

from freecad-bundle.

adrianinsaval avatar adrianinsaval commented on July 18, 2024

do we have an image for this yet? since we are already using dmgbuild now adding the image should be trivial

from freecad-bundle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.