Compare commits

..

1 Commits

Author SHA1 Message Date
Gregory Schier
a62d43be18 2024.5.1-beta.1 (#40)
Fix Linux and Windows launch errors
2024-06-04 15:02:14 -07:00
5 changed files with 10 additions and 10 deletions

View File

@@ -1,8 +1,9 @@
name: Generate Artifacts
on:
push:
tags: [ v* ]
branches:
- release
- beta
jobs:
build-artifacts:
permissions:

View File

@@ -1,6 +1,6 @@
use std::fmt::Display;
use log::{debug, info, warn};
use log::{debug, warn};
use serde::{Deserialize, Serialize};
use serde_json::json;
use sqlx::types::JsonValue;
@@ -194,7 +194,10 @@ pub async fn track_event(
}
if let Err(e) = req.send().await {
info!("Error sending analytics event: {}", e);
warn!(
"Error sending analytics event: {} {} {} {:?}",
e, event, attributes_json, params,
);
}
}

View File

@@ -1491,8 +1491,6 @@ async fn cmd_list_workspaces(w: WebviewWindow) -> Result<Vec<Workspace>, String>
&w,
Workspace {
name: "Yaak".to_string(),
setting_follow_redirects: true,
setting_validate_certificates: true,
..Default::default()
},
)

View File

@@ -1,6 +1,6 @@
{
"productName": "yaak",
"version": "2024.5.2",
"version": "2024.5.1-beta.1",
"identifier": "app.yaak.desktop",
"build": {
"beforeBuildCommand": "npm run build",

View File

@@ -1,12 +1,10 @@
import { invoke } from '@tauri-apps/api/core';
import { useActiveEnvironmentId } from './useActiveEnvironmentId';
import { useClipboardText } from './useClipboardText';
export function useCopyAsCurl(requestId: string) {
const [, copy] = useClipboardText();
const environmentId = useActiveEnvironmentId();
return async () => {
const cmd: string = await invoke('cmd_request_to_curl', { requestId, environmentId });
const cmd: string = await invoke('cmd_request_to_curl', { requestId });
copy(cmd);
return cmd;
};