better installer and portable mode
This commit is contained in:
parent
ada55faf13
commit
53a02cc7da
6 changed files with 97 additions and 79 deletions
13
README.md
13
README.md
|
|
@ -24,14 +24,19 @@ npm start
|
|||
|
||||
## Building & installing
|
||||
|
||||
`./build.sh` produces `build/PLWL-<version>.tar.gz`: the Electron runtime with the whole app (code, renderer and bundled `files/`) packed into `electron/resources/app.asar`, plus a `plwl` launcher, a `plwl.desktop` template and `install.sh`:
|
||||
`./build.sh` produces `build/PLWL-<version>.tar.gz`: the Electron runtime renamed to `olcxja.plwl/` (binary `olcxja.plwl/olcxja.plwl`) with the whole app (code, renderer and bundled `files/`) packed into `olcxja.plwl/resources/app.asar`, plus the `olcxja.plwl.png` icon, `install.sh` and `createshortcut.sh`:
|
||||
|
||||
```bash
|
||||
tar -xzf PLWL-<version>.tar.gz
|
||||
cd PLWL
|
||||
./install.sh # copies to ~/.local/lib/PLWL, adds ~/.local/bin/plwl + a desktop shortcut, launches the app
|
||||
# or run without installing:
|
||||
./plwl
|
||||
./install.sh # copies everything to ~/.local/bin/olcxja.plwl/,
|
||||
# installs the icon (olcxja.plwl.png) + shortcut
|
||||
# removes the extraction folder, launches
|
||||
|
||||
./createshortcut.sh # portable mode: only installs the icon + shortcut
|
||||
|
||||
# or run without any shortcuts:
|
||||
./olcxja.plwl/olcxja.plwl
|
||||
```
|
||||
|
||||
## Wine & Proton support
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue