mirror of
https://github.com/sshuttle/sshuttle.git
synced 2025-01-21 05:19:25 +01:00
ui-macos/default.app.do: get rid of some duplicated files.
This commit is contained in:
parent
da7a490cd7
commit
191d97a897
@ -12,16 +12,16 @@ cp "$TOP/Info.plist" .
|
||||
mkdir MacOS
|
||||
cp "$TOP/bits/runpython" "$TOP/bits/run" MacOS/
|
||||
|
||||
mkdir Resources Resources/English.lproj
|
||||
cp "$TOP/MainMenu.nib" Resources/English.lproj
|
||||
mkdir Resources
|
||||
|
||||
cd "$TOP"
|
||||
while read name newname; do
|
||||
[ -z "$name" ] && continue
|
||||
outname=$1.app/Contents/Resources/$name
|
||||
: "${newname:=$name}"
|
||||
outname=$1.app/Contents/Resources/$newname
|
||||
outdir=$(dirname "$outname")
|
||||
[ -d "$outdir" ] || mkdir "$outdir"
|
||||
cp "${name-newname}" "$outname"
|
||||
cp "${name-$newname}" "$outname"
|
||||
done <sources.list
|
||||
|
||||
cd "$1.app"
|
||||
|
Loading…
Reference in New Issue
Block a user