Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add MacOS package script & fix pac file error

  • Loading branch information...
commit 0547d2218acaba8f18cd09ce2b73f6e5a872e289 1 parent b51d451
iptton iptton authored
Showing with 15 additions and 2 deletions.
  1. +14 −1 publish
  2. +1 −1  rythem.pac
15 publish 100644 → 100755
View
@@ -1,2 +1,15 @@
#!/bin/sh
-# generate dmg pkg
+# generate dmg pkg
+macdeployqt $1Rythem.app -dmg
+hdiutil convert Rythem.dmg -format UDSP -o Rythem-rw.dmg
+tmp=`hdiutil attach Rythem-rw.dmg.sparseimage`;
+echo "tmp = $tmp"
+dev=`echo "$tmp" | awk 'END{print $1}'`
+targetDir=`echo "$tmp" | awk 'END{print $NF}'`
+cd $targetDir
+pwd
+ln -s /Applications $targetDir/Applications
+#/usr/bin/drutil eject $targetDir
+hdiutil detach -force $dev
+hdiutil convert Rythem-rw.dmg.sparseimage -format UDZO -o Rythem-release.dmg
+mv -f Rythem-release.dmg ~/
2  rythem.pac
View
@@ -1,3 +1,3 @@
-function FindProxyFoUrl(url,host){
+function FindProxyForURL(url,host){
return "PROXY 127.0.0.1:8889";
}
Please sign in to comment.
Something went wrong with that request. Please try again.