-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
124 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,4 @@ tmp/ | |
dist/ | ||
build/ | ||
cache/ | ||
resources/ | ||
resources/node-webkit/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
{ | ||
"name": "whatsapp", | ||
"main": "views/index.html", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"single-instance": true, | ||
"window": { | ||
"title": "WhatsApp", | ||
"width": 650, | ||
"height": 650, | ||
"min_width": 650, | ||
"min_height": 650, | ||
"toolbar": false | ||
"width": 900, | ||
"height": 740, | ||
"min_width": 220, | ||
"min_height": 220, | ||
"toolbar": false, | ||
"position": "center" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CFBundleDevelopmentRegion</key> | ||
<string>en</string> | ||
<key>CFBundleDisplayName</key> | ||
<string>WhatsApp</string> | ||
<key>CFBundleExecutable</key> | ||
<string>node-webkit</string> | ||
|
||
<key>CFBundleGetInfoString</key> | ||
<string>© Ismail Dhorat, 2013</string> | ||
|
||
<key>CFBundleIconFile</key> | ||
<string>whatsapp.icns</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundleName</key> | ||
<string>WhatsApp</string> | ||
<key>LSApplicationCategoryType</key> | ||
<string>public.app-category.productivity</string> | ||
<key>CFBundlePackageType</key> | ||
<string>APPL</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>0.0.0</string> | ||
<key>CFBundleVersion</key> | ||
<string>0.0.0</string> | ||
<key>LSFileQuarantineEnabled</key> | ||
<true/> | ||
<key>LSMinimumSystemVersion</key> | ||
<string>10.6.0</string> | ||
<key>NSPrincipalClass</key> | ||
<string>NSApplication</string> | ||
<key>NSSupportsAutomaticGraphicsSwitching</key> | ||
<true/> | ||
<key>SCMRevision</key> | ||
<string>175484</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CFBundleDevelopmentRegion</key> | ||
<string>en</string> | ||
<key>CFBundleDisplayName</key> | ||
<string>WhatsApp</string> | ||
<key>CFBundleExecutable</key> | ||
<string>node-webkit</string> | ||
|
||
<key>CFBundleGetInfoString</key> | ||
<string>© Ismail Dhorat, 2013</string> | ||
|
||
<key>CFBundleIconFile</key> | ||
<string>nw.icns</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundleName</key> | ||
<string>WhatsApp</string> | ||
<key>LSApplicationCategoryType</key> | ||
<string>public.app-category.productivity</string> | ||
<key>CFBundlePackageType</key> | ||
<string>APPL</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string><%= version %></string> | ||
<key>CFBundleVersion</key> | ||
<string><%= version %></string> | ||
<key>LSFileQuarantineEnabled</key> | ||
<true/> | ||
<key>LSMinimumSystemVersion</key> | ||
<string>10.6.0</string> | ||
<key>NSPrincipalClass</key> | ||
<string>NSApplication</string> | ||
<key>NSSupportsAutomaticGraphicsSwitching</key> | ||
<true/> | ||
<key>SCMRevision</key> | ||
<string>175484</string> | ||
</dict> | ||
</plist> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
set appName to (system attribute "APP_NAME") | ||
tell application "Finder" | ||
tell disk appName | ||
open | ||
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 {100, 100, 640, 250} | ||
set theViewOptions to the icon view options of container window | ||
set arrangement of theViewOptions to not arranged | ||
set icon size of theViewOptions to 64 | ||
set background picture of theViewOptions to POSIX file ("/Volumes/" & appName & "/.background/background.png") | ||
set position of item (appName & ".app") of container window to {225, 40} | ||
set position of item "Applications" of container window to {375, 40} | ||
set position of item ".DS_Store" of container window to {400, 400} | ||
set position of item ".Trashes" of container window to {400, 400} | ||
set position of item ".fseventsd" of container window to {400, 400} | ||
set position of item ".background" of container window to {400, 400} | ||
update without registering applications | ||
close | ||
end tell | ||
end tell |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/sh | ||
|
||
hdiutil create -srcfolder "dist/macOS/$1.app" -volname "$1" -fs HFS+ -fsargs "-c c=64,a=16,e=16" -format UDRW dist/macOS/$1.tmp.dmg | ||
hdiutil attach -readwrite -noverify -noautoopen "dist/macOS/$1.tmp.dmg" | ||
mkdir /Volumes/$1/.background | ||
cp resources/mac/background.png /Volumes/$1/.background | ||
chmod -Rf go-w /Volumes/$1 | ||
ln -sfn /Applications/ /Volumes/$1/Applications | ||
export APP_NAME=$1 | ||
osascript resources/mac/dmgStyler.applescript | ||
hdiutil detach /Volumes/$1 | ||
hdiutil convert "dist/macOS/$1.tmp.dmg" -format UDZO -imagekey zlib-level=9 -o "dist/macOS/$1.dmg" -puppetstrings | ||
rm dist/macOS/$1.tmp.dmg |
File renamed without changes.