Colin Delahunty

Results 207 comments of Colin Delahunty

But the only changes I made to a `cargo create-tauri-app` are the following: Changed tauri.conf.json to have this: `"resources": ["pyfolder/*"],` Made main.rs this: ``` #![cfg_attr( all(not(debug_assertions), target_os = "windows"), windows_subsystem...

``` #![cfg_attr( all(not(debug_assertions), target_os = "windows"), windows_subsystem = "windows" )] use tauri::api::process::{Command, CommandEvent}; // Learn more about Tauri commands at https://tauri.app/v1/guides/features/command #[tauri::command] fn greet(name: &str) -> String { format!("Hello, {}!...

So it actually works now, but still shows the same error which is weird. Should I just ignore the error, or could this cause issues in the future? Also, if...

The funniest part it gives an error, but works fine.

Taking TC401 and TC202

I can dig into typing.Text str alias.

I am going to take these two next: - subprocess.run: replace universal_newlines with text (UP021) - subprocess.run: replace stdout=subprocess.PIPE, stderr=subprocess.PIPE with capture_output=True (UP022)

Today I will work on: - Rewrite xml.etree.cElementTree to xml.etree.ElementTree (UP023) - OSError aliases (UP024) - Unicode literals (UP025)

Going to start on rewrite mock imports (UP026)

I will take .encode() to bytes literals (UP027) Edit, looks like someone already took this (UP012)