diff --git a/.gitignore b/.gitignore index 76add87..61bbd93 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ node_modules -dist \ No newline at end of file +dist +builds/ \ No newline at end of file diff --git a/README.md b/README.md index 7472e2b..153ea74 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # VRChat Photo Manager (BETA) Install [here](https://cdn.phaz.uk/vrcpm/vrcpm-installer.exe) (Windows) +Install [here](https://github.com/phaze-the-dumb/VRChat-Photo-Manager/releases) (Linux) ## Feedback / Bug Reports @@ -8,10 +9,7 @@ Please give me feedback in the issues section of this repo. Any feedback is welc Also for bug reports if you can, please try replicating the issue with a debug variant of the app and sending the logs along with your issue -You can download the debug EXEs using this url format: - -- https://cdn.phaz.uk/vrcpm/builds/debug/vrcpm-[YOUR-APP-VERSION]-debug.exe (Windows) -- https://cdn.phaz.uk/vrcpm/builds/debug/vrcpm-[YOUR-APP-VERSION]-debug (Linux) +You can download the debug EXEs [here](https://github.com/phaze-the-dumb/VRChat-Photo-Manager/releases) You can find your app version under appllication settings. diff --git a/build-release.sh b/build-release.sh new file mode 100755 index 0000000..4466cbf --- /dev/null +++ b/build-release.sh @@ -0,0 +1,22 @@ +#!/bin/bash + +VERSION=0.2.4 + +# Linux builds +NO_STRIP=true pnpm tauri build + +# Windows builds +pnpm tauri build --target x86_64-pc-windows-gnu +pnpm tauri build --debug --target x86_64-pc-windows-gnu + +# Move Files + +mkdir builds +mkdir builds/$VERSION + +mv src-tauri/target/release/bundle/appimage/vrchat-photo-manager_0.0.1_amd64.AppImage builds/$VERSION/vrchat-photo-manager_linux_amd64.AppImage +mv src-tauri/target/release/bundle/deb/vrchat-photo-manager_0.0.1_amd64.deb builds/$VERSION/vrchat-photo-manager_linux_amd64.deb +mv src-tauri/target/release/bundle/rpm/vrchat-photo-manager-0.0.1-1.x86_64.rpm builds/$VERSION/vrchat-photo-manager_linux_x86_64.rpm + +mv src-tauri/target/x86_64-pc-windows-gnu/release/vrcpm-rs.exe builds/$VERSION/vrchat-$VERSION.exe +mv src-tauri/target/x86_64-pc-windows-gnu/debug/vrcpm-rs.exe builds/$VERSION/vrchat-$VERSION-debug.exe \ No newline at end of file