mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-10-27 11:18:14 +01:00 
			
		
		
		
	Switch to nunicode-binaries v1.1
This commit is contained in:
		
							parent
							
								
									37eae3406c
								
							
						
					
					
						commit
						4a7ada28fb
					
				@ -33,9 +33,9 @@ ENV NUSQLITE3_PATH="${NUSQLITE3_DIR}/libnusqlite3.so"
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
RUN case "$TARGETPLATFORM" in \
 | 
					RUN case "$TARGETPLATFORM" in \
 | 
				
			||||||
  "linux/amd64") \
 | 
					  "linux/amd64") \
 | 
				
			||||||
  curl -L -o /tmp/library.zip "https://github.com/mikiher/nunicode-sqlite/releases/download/v1.0/libnusqlite3-linux-x64.zip" ;; \
 | 
					  curl -L -o /tmp/library.zip "https://github.com/mikiher/nunicode-sqlite/releases/download/v1.1/libnusqlite3-linux-x64.zip" ;; \
 | 
				
			||||||
  "linux/arm64") \
 | 
					  "linux/arm64") \
 | 
				
			||||||
  curl -L -o /tmp/library.zip "https://github.com/mikiher/nunicode-sqlite/releases/download/v1.0/libnusqlite3-linux-arm64.zip" ;; \
 | 
					  curl -L -o /tmp/library.zip "https://github.com/mikiher/nunicode-sqlite/releases/download/v1.1/libnusqlite3-linux-arm64.zip" ;; \
 | 
				
			||||||
  *) echo "Unsupported platform: $TARGETPLATFORM" && exit 1 ;; \
 | 
					  *) echo "Unsupported platform: $TARGETPLATFORM" && exit 1 ;; \
 | 
				
			||||||
  esac && \
 | 
					  esac && \
 | 
				
			||||||
  unzip /tmp/library.zip -d $NUSQLITE3_DIR && \
 | 
					  unzip /tmp/library.zip -d $NUSQLITE3_DIR && \
 | 
				
			||||||
 | 
				
			|||||||
@ -324,7 +324,7 @@ class BinaryManager {
 | 
				
			|||||||
  defaultRequiredBinaries = [
 | 
					  defaultRequiredBinaries = [
 | 
				
			||||||
    new Binary('ffmpeg', 'executable', 'FFMPEG_PATH', ['5.1'], ffbinaries), // ffmpeg executable
 | 
					    new Binary('ffmpeg', 'executable', 'FFMPEG_PATH', ['5.1'], ffbinaries), // ffmpeg executable
 | 
				
			||||||
    new Binary('ffprobe', 'executable', 'FFPROBE_PATH', ['5.1'], ffbinaries), // ffprobe executable
 | 
					    new Binary('ffprobe', 'executable', 'FFPROBE_PATH', ['5.1'], ffbinaries), // ffprobe executable
 | 
				
			||||||
    new Binary('libnusqlite3', 'library', 'NUSQLITE3_PATH', ['1.0'], nunicode, false) // nunicode sqlite3 extension
 | 
					    new Binary('libnusqlite3', 'library', 'NUSQLITE3_PATH', ['1.1'], nunicode, false) // nunicode sqlite3 extension
 | 
				
			||||||
  ]
 | 
					  ]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  constructor(requiredBinaries = this.defaultRequiredBinaries) {
 | 
					  constructor(requiredBinaries = this.defaultRequiredBinaries) {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user