mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-12 12:22:35 +00:00
get windows to open the window after updating..?
This commit is contained in:
2
desktop/Cargo.lock
generated
vendored
2
desktop/Cargo.lock
generated
vendored
@@ -5673,7 +5673,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "openbb-platform"
|
||||
version = "0.9.0"
|
||||
version = "0.9.1"
|
||||
dependencies = [
|
||||
"cc",
|
||||
"chrono",
|
||||
|
||||
2
desktop/package.json
vendored
2
desktop/package.json
vendored
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "openbb-platform",
|
||||
"private": true,
|
||||
"version": "0.8.2",
|
||||
"version": "0.9.1",
|
||||
"type": "module",
|
||||
"license": "AGPL-3.0",
|
||||
"scripts": {
|
||||
|
||||
2
desktop/src-tauri/Cargo.toml
vendored
2
desktop/src-tauri/Cargo.toml
vendored
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "openbb-platform"
|
||||
version = "0.9.0"
|
||||
version = "0.9.1"
|
||||
description = "Open Data Platform - by OpenBB - Desktop Application for managing virtual environments, application backend servers."
|
||||
authors = ["OpenBB, Inc."]
|
||||
license = "AGPL-3.0"
|
||||
|
||||
10
desktop/src-tauri/src/main.rs
vendored
10
desktop/src-tauri/src/main.rs
vendored
@@ -168,7 +168,7 @@ async fn check_and_apply_update(app: AppHandle, always_prompt: bool) {
|
||||
let app_clone = app.clone();
|
||||
app.dialog()
|
||||
.message(format!(
|
||||
"A new version ({}) is available. Would you like to install it now? The update will close the application, and you will need to restart it.",
|
||||
"A new version ({}) is available. Would you like to install it now? The update will close the application and restart.",
|
||||
update.version
|
||||
))
|
||||
.title("Update Available")
|
||||
@@ -205,12 +205,9 @@ async fn check_and_apply_update(app: AppHandle, always_prompt: bool) {
|
||||
let _ = window.show();
|
||||
}
|
||||
|
||||
#[cfg(target_os = "macos")]
|
||||
{
|
||||
app_clone_inner.request_restart();
|
||||
}
|
||||
app_clone_inner.request_restart();
|
||||
|
||||
#[cfg(not(target_os = "macos"))]
|
||||
/* #[cfg(not(target_os = "macos"))]
|
||||
{
|
||||
use std::process::Command;
|
||||
|
||||
@@ -223,6 +220,7 @@ async fn check_and_apply_update(app: AppHandle, always_prompt: bool) {
|
||||
app_clone_inner.restart();
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
2
desktop/src-tauri/tauri.conf.json
vendored
2
desktop/src-tauri/tauri.conf.json
vendored
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$schema": "https://schema.tauri.app/config/2",
|
||||
"productName": "Open Data Platform",
|
||||
"version": "0.9.0",
|
||||
"version": "0.9.1",
|
||||
"identifier": "co.openbb.platform",
|
||||
"build": {
|
||||
"frontendDist": "../dist",
|
||||
|
||||
Reference in New Issue
Block a user