update dmg background

This commit is contained in:
yanue 2018-11-27 21:53:50 +08:00
parent cf89fe67cd
commit 86469e4be9
5 changed files with 22 additions and 23 deletions

BIN
Build/dmg-bg@2x.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View File

@ -69,15 +69,15 @@ function createDmg() {
set current view of container window to icon view
set toolbar visible of container window to false
set statusbar visible of container window to false
set the bounds of container window to {0, 0, 640, 400}
set the bounds of container window to {0, 0, 560, 297}
set viewOptions to the icon view options of container window
set arrangement of viewOptions to not arranged
set icon size of viewOptions to 128
set icon size of viewOptions to 80
set background picture of viewOptions to file ".background:'${DMG_BACKGROUND_IMG}'"
make new alias file at container window to POSIX file "/Applications" with properties {name:"Applications"}
delay 1
set position of item "'${APP_NAME}'.app" of container window to {152, 256}
set position of item "Applications" of container window to {460, 256}
set position of item "'${APP_NAME}'.app" of container window to {120, 120}
set position of item "Applications" of container window to {380, 120}
close
open
update without registering applications
@ -93,9 +93,6 @@ function createDmg() {
############# 3 #############
echo "Creating compressed image"
hdiutil convert "${DMG_TMP}" -format UDZO -imagekey zlib-level=9 -o "${DMG_FINAL}"
# 清理文件夹
rm -rf "${DMG_TMP}" "${APP_PATH}"
}
function generateAppcast() {
@ -190,4 +187,6 @@ pushRelease ${release_note}
generateAppcast ${release_note}
commit
# 清理文件夹
rm -rf "${DMG_TMP}" "${APP_PATH}" "${V2rayU_RELEASE}"
echo "Done"

View File

@ -7,7 +7,7 @@
<key>Launcher.xcscheme</key>
<dict>
<key>orderHint</key>
<integer>11</integer>
<integer>17</integer>
</dict>
<key>V2rayU.xcscheme</key>
<dict>
@ -17,7 +17,7 @@
<key>V2rayUHelper.xcscheme</key>
<dict>
<key>orderHint</key>
<integer>17</integer>
<integer>18</integer>
</dict>
<key>V2rayULauncher.xcscheme</key>
<dict>
@ -27,7 +27,7 @@
<key>V2rayULauncher.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>13</integer>
<integer>16</integer>
</dict>
<key>V2rayUTests.test.xcscheme</key>
<dict>
@ -37,30 +37,30 @@
<key>V2rayUTests.testDecodeUrl.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<false />
<key>orderHint</key>
<integer>9</integer>
<integer>11</integer>
</dict>
<key>V2rayUTests.testDecodeVmess.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<false />
<key>orderHint</key>
<integer>10</integer>
<integer>13</integer>
</dict>
<key>V2rayUTests.testInbound.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<false />
<key>orderHint</key>
<integer>1</integer>
</dict>
<key>V2rayUTests.testOutbound.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<false />
<key>orderHint</key>
<integer>7</integer>
<integer>12</integer>
</dict>
<key>V2rayuHelper.xcscheme</key>
<dict>

View File

@ -7,16 +7,16 @@
<key>Tests.testDecodeUrl.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<false />
<key>orderHint</key>
<integer>11</integer>
<integer>14</integer>
</dict>
<key>Tests.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<false />
<key>orderHint</key>
<integer>12</integer>
<integer>15</integer>
</dict>
</dict>
</dict>

View File

@ -17,9 +17,9 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.9.6</string>
<string>0.9.8</string>
<key>CFBundleVersion</key>
<string>0.9.6</string>
<string>0.9.8</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.utilities</string>
<key>LSMinimumSystemVersion</key>