Skip to content

Commit

Permalink
Move installers to own folder and rename Resources folder
Browse files Browse the repository at this point in the history
  • Loading branch information
chmaha committed Feb 1, 2024
1 parent acc8537 commit dcf0b54
Show file tree
Hide file tree
Showing 22 changed files with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ func Install32bit() {
// Download ReaClassical files from GitHub
fmt.Println("Downloading ReaClassical files from GitHub...")
time.Sleep(2 * time.Second)
downloadFile("https://github.com/chmaha/ReaClassical/raw/main/Resource%20Folders/Resource_Folder_Base.zip", "Resource_Folder_Base.zip")
downloadFile("https://github.com/chmaha/ReaClassical/raw/main/Resource%20Folders/UserPlugins/UP_Windows-x86.zip", "UP_Windows-x86.zip")
downloadFile("https://github.com/chmaha/ReaClassical/raw/main/Resource%20Folder/Resource_Folder_Base.zip", "Resource_Folder_Base.zip")
downloadFile("https://github.com/chmaha/ReaClassical/raw/main/Resource%20Folder/UserPlugins/UP_Windows-x86.zip", "UP_Windows-x86.zip")

// Extract ReaClassical files
fmt.Println("Extracting ReaClassical files to ReaClassical folder...")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ func Install64bit() {
// Download ReaClassical files from GitHub
fmt.Println("Downloading ReaClassical files from GitHub...")
time.Sleep(2 * time.Second)
downloadFile("https://github.com/chmaha/ReaClassical/raw/main/Resource%20Folders/Resource_Folder_Base.zip", "Resource_Folder_Base.zip")
downloadFile("https://github.com/chmaha/ReaClassical/raw/main/Resource%20Folders/UserPlugins/UP_Windows-x64.zip", "UP_Windows-x64.zip")
downloadFile("https://github.com/chmaha/ReaClassical/raw/main/Resource%20Folder/Resource_Folder_Base.zip", "Resource_Folder_Base.zip")
downloadFile("https://github.com/chmaha/ReaClassical/raw/main/Resource%20Folder/UserPlugins/UP_Windows-x64.zip", "UP_Windows-x64.zip")

// Extract ReaClassical files
fmt.Println("Extracting ReaClassical files to ReaClassical folder...")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/bin/sh
# by chmaha (January 2024)
# by chmaha (February 2024)

# Script to install ReaClassical on Linux
# Works for both x86_64 and aarch64 architectures
# Change the pkgver number below to download an alternative version of REAPER.

###########
ver=7.07
ver=7.09
rcver=24
###########

Expand Down Expand Up @@ -40,8 +40,8 @@ rmdir "${rcfolder}/REAPER"

echo "Downloading ReaClassical files from Github..."
sleep 2
curl -L -O --progress-bar https://github.com/chmaha/ReaClassical/raw/main/Resource%20Folders/Resource_Folder_Base.zip
curl -L -O --progress-bar https://github.com/chmaha/ReaClassical/raw/main/Resource%20Folders/UserPlugins/UP_Linux-${arch}.zip
curl -L -O --progress-bar https://github.com/chmaha/ReaClassical/raw/main/Resource%20Folder/Resource_Folder_Base.zip
curl -L -O --progress-bar https://github.com/chmaha/ReaClassical/raw/main/Resource%20Folder/UserPlugins/UP_Linux-${arch}.zip
echo "Extracting files from archives..."
sleep 2
unzip -q Resource_Folder_Base.zip -d "${rcfolder}/"
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/bin/sh
# by chmaha (December 2023)
# by chmaha (February 2024)

# Script to install ReaClassical on MacOS
# Works for all architectures and OS versions that are compatible with REAPER.
# Change the pkgver number below to download an alternative REAPER version.

###########
pkgver=7.07
pkgver=7.09
rcver=24
###########

Expand Down Expand Up @@ -38,8 +38,8 @@ hdiutil convert -quiet reaper.dmg -format UDTO -o reaper_temp
hdiutil attach -quiet -nobrowse -noverify -noautoopen -mountpoint ./reaper_temp reaper_temp.cdr
echo "Downloading ReaClassical resource folder base and userplugins for MacOS"
sleep 2
curl -O https://github.com/chmaha/ReaClassical/raw/main/Resource%20Folders/Resource_Folder_Base.zip -L
curl -O https://github.com/chmaha/ReaClassical/raw/main/Resource%20Folders/UserPlugins/UP_MacOS-$arch.zip -L
curl -O https://github.com/chmaha/ReaClassical/raw/main/Resource%20Folder/Resource_Folder_Base.zip -L
curl -O https://github.com/chmaha/ReaClassical/raw/main/Resource%20Folder/UserPlugins/UP_MacOS-$arch.zip -L

# Check if a ReaClassical folder already exists
if [ -d "ReaClassical_${rcver}" ]; then
Expand Down
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions install_instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ For the complete and recommended experience on Linux, MacOS and Windows you can
Open a terminal, navigate to the folder where you want to download ReaClassical and paste the following according to your operating system:
##### Linux (including Raspberry Pi)
```bash
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/chmaha/ReaClassical/main/Resource%20Folders/ReaClassical_Linux.sh | sh
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/chmaha/ReaClassical/main/Resource%20Folder/ReaClassical_Linux.sh | sh
```
or
##### MacOS
```
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/chmaha/ReaClassical/main/Resource%20Folders/ReaClassical_macOS.sh | sh
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/chmaha/ReaClassical/main/Resource%20Folder/ReaClassical_macOS.sh | sh
```
or
##### Windows
Download [ReaClassical_Win64.exe](https://raw.githubusercontent.com/chmaha/ReaClassical/main/Resource%20Folders/ReaClassical_Win64.exe) (64-bit) or [ReaClassical_Win32.exe](https://raw.githubusercontent.com/chmaha/ReaClassical/main/Resource%20Folders/ReaClassical_Win32.exe) (32-bit) where you want to install ReaClassical and double-click. The source code for the installer is [here](https://github.com/chmaha/ReaClassical/tree/main/Resource%20Folders/ReaClassical-Windows-Go-Installer).
Download [ReaClassical_Win64.exe](https://raw.githubusercontent.com/chmaha/ReaClassical/main/Resource%20Folder/ReaClassical_Win64.exe) (64-bit) or [ReaClassical_Win32.exe](https://raw.githubusercontent.com/chmaha/ReaClassical/main/Resource%20Folder/ReaClassical_Win32.exe) (32-bit) where you want to install ReaClassical and double-click. The source code for the installer is [here](https://github.com/chmaha/ReaClassical/tree/main/Resource%20Folder/ReaClassical-Windows-Go-Installer).

The executable or script will pull the REAPER binary archive, resource folder base archive + appropriate userplugins and do the required magic. On first run, go to *Extensions > ReaPack > Synchronize Packages* to get the latest and greatest versions of the functions themselves.

Expand Down

0 comments on commit dcf0b54

Please sign in to comment.