feat: add metadata upload for Windows and Linux updates, update release file handling, and implement app version retrieval
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user