Clean up documentation

This commit is contained in:
James 2018-08-09 16:57:07 +10:00
parent 253dbb5a83
commit ebc0b24641
4 changed files with 14 additions and 12 deletions

View file

@ -1,18 +1,18 @@
LiftInstall <img src="banner.png" width="400px" />
===========
[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) [![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 An installer for your application. Designed to be customisable to the core, hookable from external
applications, and have a decent UI. applications, and have a decent UI.
This is designed to be a more modern interpretation of Qt's Installer Framework, which has several issues: This is designed to be a more modern interpretation of Qt's Installer Framework, which is hard to develop on,
- Hard to develop on and poorly documented poorly documented, has hardcoded package listing format which requires very specific setups for packages and where
- Hardcoded package listing format, requires very specific setups for packages, packages must be built packages must be built using their tool. Finally, it is poorly supported, with rare updates and a large list of bugs.
using their tool
- Poorly supported, with rare updates and a large list of bugs
Building Building
-------- --------

BIN
banner.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

View file

@ -96,7 +96,10 @@ mod natives {
#[cfg(not(windows))] #[cfg(not(windows))]
mod natives { mod natives {
use std::fs::remove_file; use std::fs::remove_file;
use std::path::PathBuf;
use std::env;
use logging::LoggingErrors;
pub fn create_shortcut( pub fn create_shortcut(
name: &str, name: &str,
@ -113,8 +116,7 @@ mod natives {
/// Cleans up the installer /// Cleans up the installer
pub fn burn_on_exit() { pub fn burn_on_exit() {
let current_exe = let current_exe = env::current_exe().log_expect("Current executable could not be found");
std::env::current_exe().log_expect("Current executable could not be found");
let path = current_exe let path = current_exe
.parent() .parent()
.log_expect("Parent directory of executable could not be found"); .log_expect("Parent directory of executable could not be found");

View file

@ -159,7 +159,7 @@ const InstallPackages = {
<div class="column has-padding"> <div class="column has-padding">
<h4 class="subtitle" v-if="$root.$data.metadata.is_launcher">Checking for updates...</h4> <h4 class="subtitle" v-if="$root.$data.metadata.is_launcher">Checking for updates...</h4>
<h4 class="subtitle" v-else-if="is_uninstall">Uninstalling...</h4> <h4 class="subtitle" v-else-if="is_uninstall">Uninstalling...</h4>
<h4 class="subtitle" v-else-if="is_updater_update">Downloading update for updater...</h4> <h4 class="subtitle" v-else-if="is_updater_update">Downloading self-update...</h4>
<h4 class="subtitle" v-else>Installing...</h4> <h4 class="subtitle" v-else>Installing...</h4>
<div v-html="$root.$data.config.installing_message"></div> <div v-html="$root.$data.config.installing_message"></div>
<br /> <br />