-
Notifications
You must be signed in to change notification settings - Fork 0
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
0 parents
commit 2b5041f
Showing
8 changed files
with
71 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
*.zip | ||
.DS_Store |
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,18 @@ | ||
# Shoes 4 Mac App Templates | ||
|
||
Source repo for Shoes 4 Mac apps. Non-binary stuff is kept here. Things like | ||
the JDK downloads are only kept around as releases to keep the size down. | ||
|
||
## App Template Updates | ||
|
||
The general process for revising a package is: | ||
|
||
* Make updats as necessary in `mac-app-template` | ||
* Run `./build.rb 0.0.1` with your desired version number | ||
* Upload resulting zipfile to a new release | ||
* Upload a compatible `jdk.zip` alongside (can reuse from prior releases if | ||
not updating) | ||
|
||
## JDK Updates | ||
|
||
Document soon!!! |
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,11 @@ | ||
#! /usr/bin/env ruby | ||
|
||
require 'fileutils' | ||
|
||
version = ARGV[0] | ||
raise "Must include a version as argument" unless version | ||
|
||
root = File.expand_path(File.join(__FILE__, "..")) | ||
|
||
`find . -name ".DS_Store" -exec rm {} \\;` | ||
`zip -r mac-app-template-#{version}.zip mac-app-template` |
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,32 @@ | ||
<?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>English</string> | ||
<key>CFBundleExecutable</key> | ||
<string>app</string> | ||
<key>CFBundleIconFile</key> | ||
<string>Shoes.icns</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>com.hackety.shoes.exampleapp</string> | ||
<key>CFBundleDisplayName</key> | ||
<string>Shoes App</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundleName</key> | ||
<string>Shoes App</string> | ||
<key>CFBundlePackageType</key> | ||
<string>APPL</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>1.0</string> | ||
<key>CFBundleSignature</key> | ||
<string>????</string> | ||
<key>CFBundleVersion</key> | ||
<string>1</string> | ||
<key>NSHumanReadableCopyright</key> | ||
<string></string> | ||
<key>LSApplicationCategoryType</key> | ||
<string>public.app-category.entertainment</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,4 @@ | ||
#! /usr/bin/env bash | ||
|
||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | ||
java -XstartOnFirstThread -jar $DIR/../Java/app.jar |
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 @@ | ||
APPL???? |
Binary file not shown.
3 changes: 3 additions & 0 deletions
3
mac-app-template/Contents/Resources/en.lproj/Localizable.strings
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,3 @@ | ||
"JRELoadError" = "Unable to load Java Runtime Environment."; | ||
"MainClassNameRequired" = "Main class name is required."; | ||
"JavaDirectoryNotFound" = "Unable to enumerate Java directory contents."; |