I have downloaded the zip version of KeePass. To run it I have to open the Terminal, go to wherever I unzipped it and run mono KeePass.exe. Is there someway I can take all the files in that zip file and that command and bundle them up so I get a KeePass.app I can stick in my Applications folder that can more easily be run?
Asked
Active
Viewed 2,969 times
3
Giacomo1968
- 58,727
Svish
- 41,258
2 Answers
3
I found this, which seems to promise what you're looking for.
Running KeePass 2.x on OSX using macpack
It uses macpack to create a .app file. See the comments - some of them indicate how to update the icon.
Fortunately, I found KeePass. It can run using Mono under OSX, but it can be a hassle to run. The default way of doing that is:
- Open Terminal and navigate to KeePass directory
- Typing: mono KeePass.exe
We can do this:
- Install Mono Framework
- Download latest version of KeePass 2.x and unpack it
- Open Terminal and navigate to unpacked KeePass folder
Run the following command:
macpack -o:. -m:winforms -r:/Library/Frameworks/Mono.framework/Versions/Current/lib/ libCocoaSharpGlue.dylib -r:KeePass.chm -r:KeePass.XmlSerializers.dll -r:KeePassLibC32.dll -r:KeePassLibC64.dll -r:License.txt -r:ShinstUtil.exe -r:./XSL -n:KeePass -a:KeePass.exeThis will create a KeePass.app file that you can drag into your \Applications folder, and you should be all set.
You can also use MonoMacPackager
2
You can write a bundled AppleScript application that includes all the necessary binaries in its Resources folder, or you might be able to use Platypus: http://www.sveinbjorn.org/platypus
Hasaan Chop
- 4,906