Skip to content

Commit 46c4f5f

Browse files
committed
Stop shipping AviSynth libraries in installer
Newer GitHub releases on AviSynthPlus have changed their folder structure again. We could pin the release to download or update the scripts, but AviSynth support is currently missing anyway, so just stop shipping the libraries for now - this also bloats the packages less.
1 parent f3773aa commit 46c4f5f

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[Files]
22
; Avisynth
3-
DestDir: {app}; Source: {#DEPS_DIR}\AvisynthPlus64\x64\Output\system\DevIL.dll; Flags: ignoreversion; Components: main
4-
DestDir: {app}; Source: {#DEPS_DIR}\AvisynthPlus64\x64\Output\AviSynth.dll; Flags: ignoreversion; Components: main
5-
DestDir: {app}; Source: {#DEPS_DIR}\AvisynthPlus64\x64\Output\plugins\DirectShowSource.dll; Flags: ignoreversion; Components: main
3+
; DestDir: {app}; Source: {#DEPS_DIR}\AvisynthPlus64\x64\Output\system\DevIL.dll; Flags: ignoreversion; Components: main
4+
; DestDir: {app}; Source: {#DEPS_DIR}\AvisynthPlus64\x64\Output\AviSynth.dll; Flags: ignoreversion; Components: main
5+
; DestDir: {app}; Source: {#DEPS_DIR}\AvisynthPlus64\x64\Output\plugins\DirectShowSource.dll; Flags: ignoreversion; Components: main
66
; VSFilter
77
DestDir: {app}\csri; Source: {#DEPS_DIR}\VSFilter\x64\VSFilter.dll; Flags: ignoreversion; Components: main

packages/win_installer/portable/create-portable.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ Write-Output 'Copying - dictionaries'
5555
Copy-New-Item $InstallerDepsDir\dictionaries\en_US.aff $PortableOutputDir\dictionaries
5656
Copy-New-Item $InstallerDepsDir\dictionaries\en_US.dic $PortableOutputDir\dictionaries
5757
Write-Output 'Copying - codecs'
58-
Write-Output 'Copying - codecs\Avisynth'
59-
Copy-New-Item $InstallerDepsDir\AvisynthPlus64\x64\Output\system\DevIL.dll $PortableOutputDir
60-
Copy-New-Item $InstallerDepsDir\AvisynthPlus64\x64\Output\AviSynth.dll $PortableOutputDir
61-
Copy-New-Item $InstallerDepsDir\AvisynthPlus64\x64\Output\plugins\DirectShowSource.dll $PortableOutputDir
58+
# Write-Output 'Copying - codecs\Avisynth'
59+
# Copy-New-Item $InstallerDepsDir\AvisynthPlus64\x64\Output\system\DevIL.dll $PortableOutputDir
60+
# Copy-New-Item $InstallerDepsDir\AvisynthPlus64\x64\Output\AviSynth.dll $PortableOutputDir
61+
# Copy-New-Item $InstallerDepsDir\AvisynthPlus64\x64\Output\plugins\DirectShowSource.dll $PortableOutputDir
6262
Write-Output 'Copying - codecs\VSFilter'
6363
Copy-New-Item $InstallerDepsDir\VSFilter\x64\VSFilter.dll $PortableOutputDir\csri
6464
Write-Output 'Copying - runtimes\MS-CRT'

tools/win-installer-setup.ps1

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@ if (!(Test-Path luajson)) {
4242
}
4343

4444
# Avisynth
45-
if (!(Test-Path AviSynthPlus64)) {
46-
$avsReleases = Invoke-WebRequest "https://api.github.com/repos/AviSynth/AviSynthPlus/releases/latest" -Headers $GitHeaders -UseBasicParsing | ConvertFrom-Json
47-
$avsUrl = $avsReleases.assets[0].browser_download_url
48-
Invoke-WebRequest $avsUrl -OutFile AviSynthPlus.7z -UseBasicParsing
49-
7z x AviSynthPlus.7z
50-
Rename-Item (Get-ChildItem -Filter "AviSynthPlus_*" -Directory) AviSynthPlus64
51-
Remove-Item AviSynthPlus.7z
52-
}
45+
# if (!(Test-Path AviSynthPlus64)) {
46+
# $avsReleases = Invoke-WebRequest "https://api.github.com/repos/AviSynth/AviSynthPlus/releases/latest" -Headers $GitHeaders -UseBasicParsing | ConvertFrom-Json
47+
# $avsUrl = $avsReleases.assets[0].browser_download_url
48+
# Invoke-WebRequest $avsUrl -OutFile AviSynthPlus.7z -UseBasicParsing
49+
# 7z x AviSynthPlus.7z
50+
# Rename-Item (Get-ChildItem -Filter "AviSynthPlus_*" -Directory) AviSynthPlus64
51+
# Remove-Item AviSynthPlus.7z
52+
# }
5353

5454
# VSFilter
5555
if (!(Test-Path VSFilter)) {

0 commit comments

Comments
 (0)