Skip to content

Instantly share code, notes, and snippets.

@mapi
Last active December 15, 2015 02:49
Show Gist options
  • Save mapi/5190243 to your computer and use it in GitHub Desktop.
Save mapi/5190243 to your computer and use it in GitHub Desktop.
JSON.NETのDLリンクコロコロ変わるみたいなので自分でDLするよう促すようにした。 Core.dllが更新されてたのに追随
#!/bin/bash
install_path="${HOME}"
temp="$(mktemp -d)"
current=$(cd $(dirname $0);pwd)
cd ${temp}
wget "http://www.misuzilla.org/~mayuki/dist/twitterircgateway/TwitterIrcGateway-20100513.zip"
wget "http://www.misuzilla.org/~mayuki/dist/twitterircgateway/TwitterIrcGatewayCore.dll-20130405"
wget "http://www.misuzilla.org/~mayuki/dist/twitterircgateway/addins/Misuzilla.Applications.TwitterIrcGateway.AddIns.RevealOnewayFollowAddIn.dll-20130305"
wget "http://mashiro.org/dev/tig/bind/Spica.Applications.TwitterIrcGateway.AddIns.Bind.dll.201301315"
wget "http://mashiro.org/dev/tig/misc/Misuzilla.Applications.TwitterIrcGateway.AddIns.UserStream.dll.20130315"
unzip "TwitterIrcGateway-20100513.zip" -d ${install_path}
install -m 0644 "TwitterIrcGatewayCore.dll-20130405" "${install_path}/TwitterIrcGateway/TwitterIrcGatewayCore.dll"
install -m 0644 "Misuzilla.Applications.TwitterIrcGateway.AddIns.RevealOnewayFollowAddIn.dll-20130305" "${install_path}/TwitterIrcGateway/ExtraAddIns/Misuzilla.Applications.TwitterIrcGateway.AddIns.RevealOnewayFollowAddIn.dll"
install -m 0644 "Spica.Applications.TwitterIrcGateway.AddIns.Bind.dll.201301315" "${install_path}/TwitterIrcGateway/ExtraAddIns/Spica.Applications.TwitterIrcGateway.AddIns.Bind.dll"
install -m 0644 "Misuzilla.Applications.TwitterIrcGateway.AddIns.UserStream.dll.20130315" "${install_path}/TwitterIrcGateway/ExtraAddIns/Misuzilla.Applications.TwitterIrcGateway.AddIns.UserStream.dll"
cd ${current}
rm -rf ${temp}
cat << EOL
${HOME}/TwitterIrcGateway にファイルが展開されました
JSON.NET 4.5 Release XX を以下のサイトからDLして、
json/Bin/Net35/json/Bin/Net35/Newtonsoft.Json.dll を${HOME}/TwitterIrcGateway の中に入れてください
http://json.codeplex.com/
EOL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment