feat: add metadata upload for Windows and Linux updates, update release file handling, and implement app version retrieval

This commit is contained in:
litruv
2026-02-22 00:13:00 +11:00
parent 00080782a3
commit e076bde9b0
4 changed files with 30 additions and 3 deletions

View File

@@ -476,6 +476,11 @@ ipcMain.handle('window:start-drag', () => {
if (mainWindow) mainWindow.webContents.startDrag({ file: '', icon: nativeImage.createEmpty() });
});
// Get app version (Tauri-compatible API)
ipcMain.handle('plugin:app|version', () => {
return app.getVersion();
});
// Open external URL
ipcMain.handle('open-external-url', async (event, url) => {
try {