* * *

Author Topic: FPC Paymo Widget (Open Source)  (Read 3751 times)

Phil

  • Hero Member
  • *****
  • Posts: 2750
Re: FPC Paymo Widget (Open Source)
« Reply #15 on: April 05, 2018, 12:06:03 am »
Lazarus can't build Cocoa 64bit app?

Seems that is very buggy.

Actually my boos said that this FPC Paymo Widget it works better with Qt widgetset.

I wonder, are you sure you want to use the _name_ of their company / product in your app? Some companies don't like that, particularly if they've trademarked their name.

Same with the .ico - is that your IP, or theirs?


lainz

  • Hero Member
  • *****
  • Posts: 2828
    • Home
Re: FPC Paymo Widget (Open Source)
« Reply #16 on: April 05, 2018, 06:03:33 pm »
Yes, we will in time make this app stand alone from paymo, using a custom api, or custom storage and also add options to work offline as a regular app.
We will change the name and all the icons.

Phil

  • Hero Member
  • *****
  • Posts: 2750
Re: FPC Paymo Widget (Open Source)
« Reply #17 on: April 06, 2018, 03:48:17 am »
We will change the name and all the icons.

While you're at it, you'll also want to create a proper Info.plist and icon file for Mac, two things that Lazarus can't create.

Open the app's .ico file in Preview and copy it to the clipboard. Then open Icon Composer and paste the image into the appropriate size class (eg, 128 x 128). Save as an .icns file.

Since you're already working around Lazarus limitations with a script, just add copying of the .icns file into the .app bundle to the script, eg, cp -p MyApp.icns MyApp.app/Contents/Resources.

Now make a copy of the useless, generic Info.plist that Lazarus creates for the .app bundle and edit it. Add something like this to activate the icon:

    <key>CFBundleIconFile</key>
    <string>MyApp.icns</string>

Add to your script to copy this file too, eg, cp -p Info.plist MyApp.app/Contents .

You'll also want to change the bundle ID in the Info.plist. The bundle ID is how macOS identifies the app. By default, the bundle ID that Lazarus creates will be something like com.company.MyApp. You definitely don't want that floating around as your bundle ID.

You can adjust many other settings in Info.plist, for example the app's version. That way if anyone selects the app in Finder and presses Cmd+I to get info on the app, the popup will display the correct version, rather than the default version that Lazarus assigns your app (0.1).


lainz

  • Hero Member
  • *****
  • Posts: 2828
    • Home
Re: FPC Paymo Widget (Open Source)
« Reply #18 on: April 19, 2018, 01:10:32 am »
There are some changes on macOS, that @esvignolo added.

And also we have a new icon:
https://github.com/Arandusoft/fpcpaymowidget/blob/master/paymowidget.png

I don't know if we will change the name, any ideas on a good name?

lainz

  • Hero Member
  • *****
  • Posts: 2828
    • Home
Re: FPC Paymo Widget (Open Source)
« Reply #19 on: April 28, 2018, 04:59:24 pm »
Hi, just to say that you can now configure it with your own API (in the settings file), that can be a limited one with only the endpoints used by this app.

Offline working is in the ToDo list.

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus