Skip to content

Commit 61ca8c8

Browse files
committed
fix(packaging): exclude updater.ps1 from stable installer dir
1 parent 21caffb commit 61ca8c8

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

packages/mpv-packaging.cmake

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ if [ -d $dir ] && [[ $dir =~ mpv-$3.*-git-* ]]; then
77
cp -r $1/mpv-root/* $1/$3/d3dcompiler_43.dll $dir
88
7z a -m0=lzma2 -mx=9 -ms=on $dir.7z $dir/* -x!*.7z
99
elif [ -d $dir ] && [[ $dir =~ mpv-.*$3 ]] && [[ ! $dir =~ -git- ]]; then
10-
cp -r $1/mpv-root/installer $1/mpv-root/doc $1/$3/d3dcompiler_43.dll $dir
10+
mkdir -p $dir/installer
11+
cp $1/mpv-root/installer/mpv-install.bat $1/mpv-root/installer/mpv-uninstall.bat $1/mpv-root/installer/mpv-icon.ico $dir/installer
12+
cp -r $1/mpv-root/doc $1/$3/d3dcompiler_43.dll $dir
1113
7z a -m0=lzma2 -mx=9 -ms=on $dir.7z $dir/* -x!*.7z
1214
elif [ -d $dir ]; then
1315
7z a -m0=lzma2 -mx=9 -ms=on $dir.7z $dir/* -x!*.7z

0 commit comments

Comments
 (0)