Sinatra backend serving a basic Leaflet map, wrapped in a Tauri desktop shell that starts the same server in a native window.
46 lines
996 B
JSON
46 lines
996 B
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"productName": "MapTool",
|
|
"version": "0.1.0",
|
|
"identifier": "net.priesol.maptool",
|
|
"build": {
|
|
"beforeDevCommand": "bundle exec puma -C ../config/puma.rb",
|
|
"devUrl": "http://127.0.0.1:4567",
|
|
"frontendDist": "http://127.0.0.1:4567"
|
|
},
|
|
"app": {
|
|
"windows": [
|
|
{
|
|
"title": "MapTool",
|
|
"width": 1200,
|
|
"height": 800,
|
|
"minWidth": 800,
|
|
"minHeight": 600
|
|
}
|
|
],
|
|
"security": {
|
|
"csp": null
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": "all",
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/128x128@2x.png",
|
|
"icons/icon.icns",
|
|
"icons/icon.ico"
|
|
],
|
|
"resources": {
|
|
"../Gemfile": "Gemfile",
|
|
"../Gemfile.lock": "Gemfile.lock",
|
|
"../app.rb": "app.rb",
|
|
"../config.ru": "config.ru",
|
|
"../config/*": "config/",
|
|
"../public/*": "public/",
|
|
"../views/*": "views/"
|
|
}
|
|
}
|
|
}
|