mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Use the new packaging directory for MacOSX specific files, and provide shell script workaround to make the svg icon reachable.
- Make use of the new packaging directory. - Set a current directory for subsurface to find the svg icon. There might be a pretter solution to this. - Somehow subsurface doesn't behave properly in the Dock. Running it in the background without Dock integration until we figure out why. Signed-Off-By: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
This commit is contained in:
parent
f231ab0943
commit
b1a1376f3b
5 changed files with 12 additions and 7 deletions
20
packaging/macosx/Info.plist
Normal file
20
packaging/macosx/Info.plist
Normal file
|
@ -0,0 +1,20 @@
|
|||
<?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>CFBundleIconFile</key>
|
||||
<string>Subsurface</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>Subsurface</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleGetInfoString</key>
|
||||
<string>Rough divelog in C and Gtk</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>subsurface.sh</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>torvalds.subsurface</string>
|
||||
</dict>
|
||||
</plist>
|
1
packaging/macosx/PkgInfo
Normal file
1
packaging/macosx/PkgInfo
Normal file
|
@ -0,0 +1 @@
|
|||
APPL????
|
BIN
packaging/macosx/Subsurface.icns
Normal file
BIN
packaging/macosx/Subsurface.icns
Normal file
Binary file not shown.
5
packaging/macosx/subsurface.sh
Executable file
5
packaging/macosx/subsurface.sh
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
cd `dirname $0`/../Resources
|
||||
../MacOS/subsurface &
|
||||
exit 0
|
Loading…
Add table
Add a link
Reference in a new issue