BigJk / snd

Sales & Dungeons — Thermal Printer as D&D / TTRPG Utility
https://sales-and-dungeons.app/
MIT License
474 stars 17 forks source link

Bundling MacOS builds into .app folders #39

Closed BigJk closed 7 months ago

BigJk commented 1 year ago

For MacOS we should switch to distributing a complete .app folder in the future, so that S&D is a Application that can be dropped into the application folder with it's own Icon.

Target folder structure would probably be:

Sales & Dungeons.app/
└── Contents
    ├── Info.plist
    ├── MacOS
    │   └── snd
    │   └── frontend/...
    │   └── data/...
    │   └── version.txt
    └── Resources
        └── icon.icns

Additionally we should change the default userdata folder on MacOS so that data will be kept outside of the app bundle. Something like ~/Documents/Sales & Dungeons/. That way the app can easily be updated by just overwriting.

Info:

nbadal commented 1 year ago

I've spent a few days on this already 😁 hopefully getting something working in the next week or two

BigJk commented 1 year ago

Great. Than I will wait for your results 👍

BigJk commented 7 months ago

Should be solved with: https://github.com/BigJk/snd/releases/tag/v1.0.0-rc3