kopia lustrzana https://github.com/learn-awesome/learndb
WIP: appdmg to generate .dmg installer for mac
rodzic
20ed034145
commit
c8cd863e37
Plik binarny nie jest wyświetlany.
11
README.md
11
README.md
|
@ -50,3 +50,14 @@ The source data is in `db/*.js` files. The schema is described in [db/README.md]
|
|||
For the front-end, we write Svelte components in `src` and generate `bundle.js` and `bundle.css` via `npm run dev` / `npm run build`.
|
||||
|
||||
For UI, we make use of TailwindCSS (currently loaded via CDN with some plugins) and Shoelace.Style. Whenever possible, we use Shoelace's existing components.
|
||||
|
||||
## Build
|
||||
|
||||
We use Neutralino.js to generate native apps for Mac/Windows/Linux. Currently only the .app file (not .dmg) for Mac runs correctly.
|
||||
|
||||
```
|
||||
neu build
|
||||
mv dist/learndb/learndb-mac_x64 dist/learndb/learndb-mac_x64.app
|
||||
chmod +x dist/learndb/learndb-mac_x64.app
|
||||
appdmg ./appdmg.json dist/learndb/LearnDB.dmg
|
||||
```
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"title": "LearnDB",
|
||||
"icon": "AppIcon.icns",
|
||||
"contents": [
|
||||
{ "x": 448, "y": 344, "type": "link", "path": "/Applications" },
|
||||
{ "x": 192, "y": 344, "type": "file", "path": "dist/learndb/learndb-mac_x64.app" }
|
||||
]
|
||||
}
|
Ładowanie…
Reference in New Issue