-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Tauri 1.x #8
Comments
pnpm remove @tauri-apps/cli @tauri-apps/api @tauri-apps/plugin-app @tauri-apps/plugin-os @tauri-apps/plugin-shell @tauri-apps/plugin-window pnpm add @tauri-apps/api@latest
pnpm add @tauri-apps/cli@latest -D
cargo remove tauri tauri-plugin-app tauri-plugin-os tauri-plugin-shell tauri-plugin-window
cargo remove --build tauri-build cargo add tauri
cargo add --build tauri-build
- import { WindowTitlebar } from "tauri-controls"
- import { getName, getTauriVersion, getVersion } from "@tauri-apps/plugin-app"
- import { arch } from "@tauri-apps/plugin-os"
- import { open } from "@tauri-apps/plugin-shell"
import { getName, getTauriVersion, getVersion } from "@tauri-apps/api/app"
import { arch } from "@tauri-apps/api/os"
import { open } from "@tauri-apps/api/shell"
fn main() {
tauri::Builder::default()
.invoke_handler(tauri::generate_handler![greet])
.run(tauri::generate_context!())
.expect("error while running tauri application");
} |
I followed these steps,on dev everything works fine, but on build it doesn't build a usable app any fix ? I would see the following message when i run the built app , Could not connect: Connection refused |
How about an option to choose either alpha or latest during installation? |
pnpm create tauri-ui
installs the latest alpha version of tauri, How do I switch to tauri1.4?The text was updated successfully, but these errors were encountered: