diff --git a/README.md b/README.md index 2d2588b..e3b5b0c 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,18 @@ -LiftInstall -=========== + + +[Usage Documentation](https://liftinstall.jselby.net/user-guide/) + - [Quick Start](https://liftinstall.jselby.net/user-guide/quick-start) + - [License](LICENSE) [![Build Status](https://travis-ci.org/j-selby/liftinstall.svg?branch=master)](https://travis-ci.org/j-selby/liftinstall) -- Usage Documentation: https://liftinstall.jselby.net/ An installer for your application. Designed to be customisable to the core, hookable from external applications, and have a decent UI. -This is designed to be a more modern interpretation of Qt's Installer Framework, which has several issues: -- Hard to develop on and poorly documented -- Hardcoded package listing format, requires very specific setups for packages, packages must be built - using their tool -- Poorly supported, with rare updates and a large list of bugs +This is designed to be a more modern interpretation of Qt's Installer Framework, which is hard to develop on, + poorly documented, has hardcoded package listing format which requires very specific setups for packages and where + packages must be built using their tool. Finally, it is poorly supported, with rare updates and a large list of bugs. Building -------- diff --git a/banner.png b/banner.png new file mode 100644 index 0000000..f7805ad Binary files /dev/null and b/banner.png differ diff --git a/src/native/mod.rs b/src/native/mod.rs index a07af66..5fb100d 100644 --- a/src/native/mod.rs +++ b/src/native/mod.rs @@ -96,7 +96,10 @@ mod natives { #[cfg(not(windows))] mod natives { use std::fs::remove_file; - use std::path::PathBuf; + + use std::env; + + use logging::LoggingErrors; pub fn create_shortcut( name: &str, @@ -113,8 +116,7 @@ mod natives { /// Cleans up the installer pub fn burn_on_exit() { - let current_exe = - std::env::current_exe().log_expect("Current executable could not be found"); + let current_exe = env::current_exe().log_expect("Current executable could not be found"); let path = current_exe .parent() .log_expect("Parent directory of executable could not be found"); diff --git a/static/js/views.js b/static/js/views.js index dcb4ffa..21e7c3d 100644 --- a/static/js/views.js +++ b/static/js/views.js @@ -159,7 +159,7 @@ const InstallPackages = {