Created
December 15, 2018 02:18
-
-
Save ohac/af00c6fc64478a3d280b63468652dbd6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export WINEPREFIX=$HOME/.wine64a | |
export NADIR=$WINEPREFIX/drive_c/Program\ Files/Native\ Instruments/Native\ Access | |
export NA=$NADIR/Native\ Access.exe | |
export DATETIME=`date +%Y%m%d_%H%M%S` | |
export DELTAFILE=~/na.xdelta | |
xdelta delta -0 -n -s=8 "$NA.orig" "$NA.new" "$DELTAFILE" | |
xdelta info "$DELTAFILE" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export WINEPREFIX=$HOME/.wine64a | |
export NADIR=$WINEPREFIX/drive_c/Program\ Files/Native\ Instruments/Native\ Access | |
export NA=$NADIR/Native\ Access.exe | |
export DATETIME=`date +%Y%m%d_%H%M%S` | |
export DELTAFILE=~/na.xdelta | |
cp -f "$NA" "$NA.orig.$DATETIME" | |
xdelta patch "$DELTAFILE" "$NA" "$NA.new.$DATETIME" | |
cp -f "$NA.new.$DATETIME" "$NA" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment