feat: update packages
This commit is contained in:
@@ -152,7 +152,7 @@ impl IconType {
|
||||
fn render_svg_to_png(svg_path: &PathBuf, png_path: &PathBuf, size: u32) -> Result<()> {
|
||||
let tree = Tree::from_data(
|
||||
fs::read(svg_path)?.as_slice(),
|
||||
&resvg::usvg::Options::default().to_ref(),
|
||||
&resvg::usvg::Options::default(),
|
||||
)?;
|
||||
let mut pixmap = Pixmap::new(size, size).unwrap();
|
||||
render(
|
||||
|
||||
@@ -81,7 +81,7 @@ impl LifeCycleHandler for ProtoStar {
|
||||
.set_root(self.grabbable.content_parent())
|
||||
.unwrap();
|
||||
self.icon_shrink = Some(Tweener::new(QuartInOut::new(self.size..=0.0, 0.25)));
|
||||
let future = startup_settings.generate_desktop_startup_id().unwrap();
|
||||
let future = startup_settings.generate_startup_token().unwrap();
|
||||
let executable = self.executable_path.clone();
|
||||
tokio::task::spawn(async move {
|
||||
std::env::set_var("STARDUST_STARTUP_TOKEN", future.await.unwrap());
|
||||
|
||||
Reference in New Issue
Block a user