- Changed default feature to include 'desktop' in Cargo.toml - Replaced --noui flag with --desktop flag in launch.json - Added Tauri desktop mode implementation in main.rs - Simplified command line argument handling - Cleaned up code formatting in main.rs The changes introduce a new mode for running the application as a desktop app using Tauri framework, while maintaining the existing server functionality. The desktop mode loads a webview window with a specific HTML interface.
14 lines
639 B
HTML
14 lines
639 B
HTML
<template>
|
||
<div class="toolbar">
|
||
<button onclick="app.bold()">📝 Bold</button>
|
||
<button onclick="app.addRow()">➕ Add Row</button>
|
||
<button onclick="app.addColumn()">➕ Add Column</button>
|
||
<button onclick="app.deleteRow()">➖ Delete Row</button>
|
||
<button onclick="app.deleteColumn()">➖ Delete Column</button>
|
||
<button onclick="app.sort()">🔽 Sort A-Z</button>
|
||
<button onclick="app.sum()">Σ Sum</button>
|
||
<button onclick="app.average()">📊 Average</button>
|
||
<button onclick="app.clearCell()">🗑️ Clear</button>
|
||
<button onclick="app.exportData()">💾 Export</button>
|
||
</div>
|
||
</template>
|