Skip to content

Instantly share code, notes, and snippets.

@tguillem
Created December 12, 2017 15:36
Show Gist options
  • Save tguillem/bf122c1cabeae6d42a61ad90cfccb99c to your computer and use it in GitHub Desktop.
Save tguillem/bf122c1cabeae6d42a61ad90cfccb99c to your computer and use it in GitHub Desktop.
vlc_wininstall()
{
host=$1
winuser=$2
vlcgit=$3
[ ! -z $host -a ! -z $winuser -a ! -z $vlcgit ] && \
make -j8 package-win-common && \
rsync -av $vlcgit $host:/mnt/c/Users/$winuser/Desktop/ --delete && \
ssh $host /mnt/c/Users/$winuser/Desktop/$vlcgit/vlc-cache-gen.exe /mnt/c/Users/$winuser/Desktop/$vlcgit/plugins
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment