mirror of
https://github.com/yuzu-emu/liftinstall.git
synced 2024-12-22 14:25:38 +00:00
tasks: fix shortcut creation logic
This commit is contained in:
parent
0decda8232
commit
d194ed5dd5
|
@ -15,8 +15,6 @@ use wry::{
|
|||
|
||||
use log::Level;
|
||||
|
||||
use crate::logging::LoggingErrors;
|
||||
|
||||
/// Starts the main web UI. Will return when UI is closed.
|
||||
pub fn start_ui(app_name: &str, http_address: &str, is_launcher: bool) -> Result<()> {
|
||||
#[cfg(windows)]
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
use crate::installer::InstallerFramework;
|
||||
|
||||
use crate::tasks::download_pkg::DownloadPackageTask;
|
||||
use crate::tasks::install_shortcuts::InstallShortcutsTask;
|
||||
use crate::tasks::install_global_shortcut::InstallGlobalShortcutsTask;
|
||||
use crate::tasks::save_database::SaveDatabaseTask;
|
||||
use crate::tasks::uninstall_pkg::UninstallPackageTask;
|
||||
use crate::tasks::Task;
|
||||
|
@ -196,12 +196,7 @@ impl Task for InstallPackageTask {
|
|||
optional: true,
|
||||
}),
|
||||
),
|
||||
TaskDependency::build(
|
||||
TaskOrdering::Post,
|
||||
Box::new(InstallShortcutsTask {
|
||||
name: self.name.clone(),
|
||||
}),
|
||||
),
|
||||
TaskDependency::build(TaskOrdering::Post, Box::new(InstallGlobalShortcutsTask {})),
|
||||
TaskDependency::build(
|
||||
TaskOrdering::Post,
|
||||
Box::new(InstallDesktopShortcutTask {
|
||||
|
|
Loading…
Reference in a new issue