For OSX, that's another matter of course. 2013/3/14 S Krish <krishnamachari.sudhakar@gmail.com>:
There is a wiki entry on this for squeak on Win32:
http://squeakvm.org/win32/custom.html
*****************************
Rest inlined..
On Thu, Mar 14, 2013 at 1:22 PM, MartinW <wm@fastmail.fm> wrote:
I want to deploy a Pharo 2.0 Desktop application to a dozen of people using Windows and MacOS computers. A couple of questions arise:
- How to properly start up and shut down my application when the Pharo image starts and shuts down?
In your custom class : MyApplication >> #startUp
MyApplicationWindow new open.
Save your image with this following executed: Smalltalk addToStartUpList: #MyApplication. Smalltalk addToShutDownList: #MyApplication.
- Can i give the Pharo window a custom size and make it non-resizable?
Guess this is in the VM built in.
- How to hide development tools, world menu, global keyboard shortcuts, etc.?
Execute and save your image: "No user-interrupt-into-debugger" UserInterruptHandler cmdDotEnabled: false. "turn off shift-click editing" StringMorph editableStringMorph: false. "No halos, etc." Morph cmdGesturesEnabled: false. "No user commands invokable via cmd-key combos in text editor" ParagraphEditor cmdKeysInText: false. Editor cmdKeysInText: false.
- How to make a nice One-Click-Application, that preferably should have the name and icon of the application and not be called Pharo (not because i do not love Pharo, but because people won't understand :)
As Pharo does for its one click app. Just one image in the directory when you click on NBCog.exe / Pharo.exe VM runs the application.
You will require the subfolders that Pharo currently uses. You can strip links to .changes / .sources files cleanUpEnvironment Smalltalk cleanUp: true. ScriptLoader new cleanUpForDesktopProduction.
SmalltalkImage checkChangesFileAvailability: false; checkSourcesFileAvailability: false.
- How to automate all the above tasks, so i can easily build a new One-Click-Application again and again.
Use Jenkins CI.
- What do i state as system requirements? "You need at least Windows XYZ or MacOS 10.X to run this application"
??? Wherever Pharo is described to runnable, you can run your application and declare it to run viz: Windows XP upwards ( even older I have not tested ), Mac ?? , Linux ( my test is on Ubuntu/ Debian / not sure of others.. ) , Android , and dev iOS.
Martin.
-- View this message in context: http://forum.world.st/How-to-deploy-a-Pharo-2-0-Desktop-application-tp467669... Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.