Do some Initial Refactoring of the Code 1. This splits up the UI code into a separate views and components folder to clarify the purpose of each file. 2. This refactors some code to use CSS modules, functional React components and splits up the Settings component into roughly one component per setting. This is just the beginning of more code refactoring.
LiveSplit One
LiveSplit One is a version of LiveSplit that uses the multiplatform livesplit-core library and web technologies like React to create a new LiveSplit experience that works on a lot of different platforms.
The web version of LiveSplit One is available here.
The latest desktop version of LiveSplit One, with support for global hotkeys, can be downloaded here.
Note
This is not yet optimized for desktop usage. It's mostly the same as the web version and there is no update mechanism.
Build Instructions
In order to build LiveSplit One, you need to install npm and the Rust compiler. Make sure to recursively clone the repository so that all git submodules are cloned as well:
git clone --recursive
Once you have cloned the repository and set up both npm and the Rust compiler, you need to install the WebAssembly target:
rustup target add wasm32-unknown-unknown
You also need to build wasm-bindgen:
cargo install wasm-bindgen-cli
You need to set up some npm modules before compiling the project:
npm install
You are now ready to build livesplit-core, which powers LiveSplit One:
npm run build:core
Now you can build and host LiveSplit One:
npm run serve