From 1d736c6429c9e79a76a3b3025742e12016d112de Mon Sep 17 00:00:00 2001 From: nezu Date: Sun, 20 Oct 2024 23:26:02 +0200 Subject: [PATCH 1/5] update readme --- README.md | 39 +++++++++++++++++++++++++++++++++++++-- 1 file changed, 37 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5c8cde8..8e19d9a 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,38 @@ -# lychee-slicer +# lychee slicer plus crack -Lychee Slicer \ No newline at end of file +unlocks all plus features that don't require a cloud connection + +# Installation + +## Windows + +1. Install [Lychee Slicer](https://mango3d.io/download-lychee-slicer) to the **DEFAULT** location (important if you don't want to manually specify the path later) +2. Download the latest release from the [releases page](https://vaclive.party/software/lychee-slicer/releases/latest). (look for lychee-slicer.exe) +3. (Optional) verify the downloaded files using PGP +4. run the downloaded launcher +5. (On first setup and after update) you might need to grant the launcher permission patch files in the Lychee Slicer installation directory +6. The program will start automatically after patching, login as usual if you haven't already +7. From now on, you have to use the launcher to start Lychee Slicer. Opening the original executable will not work. (I suggest making a shortcut to the launcher) + +### custom installation path + +specify the path on the command line in the `-program` argument like this: `lychee-slicer.exe -program "C:\path\to \LycheeSlicer.exe"` + +## Linux + +### Arch Linux + +1. build or download the package from [placeholder] (not yet available) + +### Other distributions + +1. Download and extract the latest lychee slicer release. (you should have a directory with the lycheeslicer executable) +2. Download the latest release from the [releases page](https://vaclive.party/software/lychee-slicer/releases/latest). (look for lychee-slicer) +3. (Optional) verify the downloaded files using PGP +4. give the launcher execute permissions (`chmod +x lychee-slicer`) +5. run `./lychee-slicer -program /path/to/lycheeslicer` to patch and start the lychee slicer + +## macOS + +1. throw the computer out of the window +2. buy a real computer \ No newline at end of file From 153e007a98c8e045f649d33fdf66de223daf7b4a Mon Sep 17 00:00:00 2001 From: nezu Date: Sun, 20 Oct 2024 23:36:16 +0200 Subject: [PATCH 2/5] update readme --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8e19d9a..11c249f 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ unlocks all plus features that don't require a cloud connection ### custom installation path -specify the path on the command line in the `-program` argument like this: `lychee-slicer.exe -program "C:\path\to \LycheeSlicer.exe"` +specify the path on the command line in the `-program` argument like this: `lychee-slicer-launcher-windows.exe -program "C:\path\to\LycheeSlicer.exe"` ## Linux @@ -29,8 +29,8 @@ specify the path on the command line in the `-program` argument like this: `lych 1. Download and extract the latest lychee slicer release. (you should have a directory with the lycheeslicer executable) 2. Download the latest release from the [releases page](https://vaclive.party/software/lychee-slicer/releases/latest). (look for lychee-slicer) 3. (Optional) verify the downloaded files using PGP -4. give the launcher execute permissions (`chmod +x lychee-slicer`) -5. run `./lychee-slicer -program /path/to/lycheeslicer` to patch and start the lychee slicer +4. give the launcher execute permissions (`chmod +x lychee-slicer-launcher-linux`) +5. run `./lychee-slicer-launcher-linux -program /path/to/lycheeslicer` to patch and start the lychee slicer ## macOS From 1b5fe4e85ee3f7c5f5a9dbc21aa57bed63cd4bf7 Mon Sep 17 00:00:00 2001 From: nezu Date: Mon, 21 Oct 2024 16:46:23 +0200 Subject: [PATCH 3/5] passthrough arguments --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index ce16af6..2507d75 100644 --- a/main.go +++ b/main.go @@ -170,6 +170,7 @@ func main() { go func() { cmd := exec.Command(*program, fmt.Sprintf("--proxy-server=%s:%d", ip, port), "--ignore-certificate-errors") + cmd.Args = append(cmd.Args, flag.Args()...) cmd.Stdout = os.Stdout cmd.Stderr = os.Stderr log.Fatal(cmd.Run()) From fb552b7a527902ff465639ec8d26a690c9f305ed Mon Sep 17 00:00:00 2001 From: nezu Date: Mon, 21 Oct 2024 16:46:23 +0200 Subject: [PATCH 4/5] add build script --- .gitignore | 3 ++- build.sh | 8 ++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100755 build.sh diff --git a/.gitignore b/.gitignore index a4cb47a..a3d8476 100644 --- a/.gitignore +++ b/.gitignore @@ -29,4 +29,5 @@ go.work.sum .vscode/ *.AppImage squashfs-root/ -/lychee-slicer* \ No newline at end of file +/lychee-slicer* +build/ \ No newline at end of file diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..6220960 --- /dev/null +++ b/build.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +mkdir -p build +GOOS=windows GOARCH=amd64 go build -ldflags "-H=windowsgui -s -w" -o build/lychee-slicer-launcher-windows.exe +GOOS=linux GOARCH=amd64 go build -ldflags "-s -w" -o build/lychee-slicer-launcher-linux + +gpg --output build/lychee-slicer-launcher-windows.exe.sig --detach-sig build/lychee-slicer-launcher-windows.exe +gpg --output build/lychee-slicer-launcher-linux.sig --detach-sig build/lychee-slicer-launcher-linux \ No newline at end of file From 80500664a7d429e5ffee098cabba753d2af8f3f4 Mon Sep 17 00:00:00 2001 From: nezu Date: Mon, 21 Oct 2024 15:06:59 +0000 Subject: [PATCH 5/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 11c249f..c68770e 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ specify the path on the command line in the `-program` argument like this: `lych ### Arch Linux -1. build or download the package from [placeholder] (not yet available) +1. build or download the package from [here](https://vaclive.party/arch/lychee-slicer-patched) ### Other distributions