Initial scaffold: Sinatra map app with Tauri desktop shell

Sinatra backend serving a basic Leaflet map, wrapped in a Tauri
desktop shell that starts the same server in a native window.
This commit is contained in:
randy committed 2026-08-24 22:57:03 +02:00
commit 7329497e95
27 files changed
+5010

No files matched your search

+45
View File
@@ -0,0 +1,45 @@
{
"$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/"
}
}
}