Feature: Manual and auto classpath option
- Updating README.md (draft) - Updating install (draft)
This commit is contained in:
parent
86657a6d32
commit
8babb073d3
@ -20,7 +20,7 @@ Just put both `warp4j` and `warp-packer` somewhere in your PATH and run `warp4j
|
|||||||
Curl one-liner installs latest versions of both `warp4j` and `warp-packer`:
|
Curl one-liner installs latest versions of both `warp4j` and `warp-packer`:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ bash -c "$(curl -fsSL https://raw.githubusercontent.com/guziks/warp4j/stable/install)"
|
$ bash -c "$(curl -fsSL https://git.kirby-link.dd-dns.de/public/warp4j/src/branch/feature/manual_and_auto_classpath_option/install)"
|
||||||
```
|
```
|
||||||
|
|
||||||
This script will show missing dependencies (if there are any), they must be installed with your package manager.
|
This script will show missing dependencies (if there are any), they must be installed with your package manager.
|
||||||
|
4
install
4
install
@ -35,7 +35,7 @@ THIS_PLATFORM=$(get_this_platform)
|
|||||||
function get_latest_warp_link() {
|
function get_latest_warp_link() {
|
||||||
local this_platform=$1
|
local this_platform=$1
|
||||||
local info
|
local info
|
||||||
info=$(curl -fsSL https://api.github.com/repos/dgiagio/warp/releases)
|
info=$(curl -fsSL https://git.kirby-link.dd-dns.de/api/v1/repos/public/warp/releases?draft=false&pre-release=false)
|
||||||
if [[ $? != 0 ]]; then
|
if [[ $? != 0 ]]; then
|
||||||
echo "Error: Failed to get information about releases" >&2
|
echo "Error: Failed to get information about releases" >&2
|
||||||
fail
|
fail
|
||||||
@ -91,7 +91,7 @@ function get_missing_deps() {
|
|||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
WARP4J_LINK="https://raw.githubusercontent.com/guziks/warp4j/stable/warp4j"
|
WARP4J_LINK="https://git.kirby-link.dd-dns.de/public/warp4j/raw/branch/feature/manual_and_auto_classpath_option/warp4j"
|
||||||
|
|
||||||
echo "Getting information about warp-packer releases..."
|
echo "Getting information about warp-packer releases..."
|
||||||
WARP_LINK=$(get_latest_warp_link $THIS_PLATFORM)
|
WARP_LINK=$(get_latest_warp_link $THIS_PLATFORM)
|
||||||
|
Loading…
Reference in New Issue
Block a user