[from now] 2018/03/23 13:25:18
[from now] 2018/03/23 13:25:18

diff --git a/Casks/townwifi.rb b/Casks/townwifi.rb
index 666fb3f..725851e 100644
--- a/Casks/townwifi.rb
+++ b/Casks/townwifi.rb
@@ -7,4 +7,15 @@ cask 'townwifi' do
   homepage 'http://townwifi.jp'

   pkg 'TownWifi.pkg'
+
+  uninstall pkgutil: 'jp.townwifi.townwifi'
+
+  zap delete: [
+    '~/Library/Application Support/jp.townwifi.townwifi',
+    '~/Library/Caches/jp.townwifi.townwifi'
+    '~/Library/Preferences/com.company.appname.plist'
+  ],
+  trash: [
+    '~/Library/Preferences/jp.townwifi.townwifi.plist'
+  ]
 end
\ No newline at end of file

GeneralD/homebrew-private