Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Acme.app #487

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/moveplan9.files
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ lp/spooler/nospool
lp/stat/generic
lp/stat/lpd
mac/9term.app/Contents/MacOS/9term
mac/Acme.app/Contents/MacOS/acme
mac/Plumb.app/Contents/MacOS/plumb
mail/lib/qmail
mail/lib/remotemail
Expand Down
28 changes: 28 additions & 0 deletions mac/Acme.app/Contents/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//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>acme</string>
<key>CFBundleGetInfoString</key>
<string>0.1-1</string>
<key>CFBundleIconFile</key>
<string>spaceglenda.icns</string>
<key>CFBundleIdentifier</key>
<string>com.swtch.plan9port.Acme</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>Acme</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.1</string>
<key>CFBundleSignature</key>
<string>Acme1</string>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
</plist>
15 changes: 15 additions & 0 deletions mac/Acme.app/Contents/MacOS/acme
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash

if [ -e ~/.bashrc ] ; then
. ~/.bashrc
fi
PLAN9=${PLAN9:-/usr/local/plan9}
cd $HOME

if ! [[ :$PATH: =~ :$PLAN9/bin: ]]
then
PATH=$PATH:$PLAN9/bin
fi
$PLAN9/bin/acme
exit 0

2 changes: 2 additions & 0 deletions mac/Acme.app/Contents/PkgInfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
APPLAcme

Binary file added mac/Acme.app/Contents/Resources/spaceglenda.icns
Binary file not shown.