Skip to content

WIP: Desktop support#207

Draft
aoor9 wants to merge 33 commits intoemavgl:masterfrom
aoor9:master
Draft

WIP: Desktop support#207
aoor9 wants to merge 33 commits intoemavgl:masterfrom
aoor9:master

Conversation

@aoor9
Copy link

@aoor9 aoor9 commented Feb 11, 2025

I started implementing this app for desktop platforms.

Roadmap

Platforms

  • Linux
  • Windows (wip)
  • macOS (testing)

Extra tasks

  • Hide Export Backup, Export Database and Destination folder options on all desktop platforms
  • Fully rename project (final task)

@emavgl
Copy link
Owner

emavgl commented Feb 11, 2025

Wow, thank you so much for taking care of this. Let me know how I can support you


# The name of the executable created for the application. Change this to change
# the on-disk name of your application.
set(BINARY_NAME "piggybank")
Copy link
Owner

@emavgl emavgl Feb 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could the name be changed to Oinkoin?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The package is called that even before creating this PR. After testing desktop platforms, I'll take it as a final task.

pubspec.yaml Outdated
emoji_picker_flutter: ^4.0.0-dev.2
reorderable_grid: ^1.0.10
local_auth: ^2.3.0
sqflite_common_ffi: ^2.3.4+4
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Accordingly to the readme of the package, this goes to dev_dependencies. For making it work on android and iOS another library seem needed https://pub.dev/packages/sqlite3_flutter_libs

So I am not sure if it is needed to keep both sqflite_common_ffi and sqflite.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll try to replace and test flutter_libs.

@faizul726
Copy link

Is it possible to make a web versions as well with Nextcloud or local sync?

@aoor9
Copy link
Author

aoor9 commented Nov 27, 2025

Is it possible to make a web versions as well with Nextcloud or local sync?

Sync is not the purpose of this PR, despite being an interesting feature.

@emavgl
Copy link
Owner

emavgl commented Jan 4, 2026

Hi, I have added the support for Linux. I suspect Windows and MacOS can be added very quickly now - but I don't have any Windows or MacOS device so I can't try this out.

@aoor9
Copy link
Author

aoor9 commented Jan 4, 2026

Hi, I have added the support for Linux. I suspect Windows and MacOS can be added very quickly now - but I don't have any Windows or MacOS device so I can't try this out.

Thanks for your help. I'm sorry I didn't complete the Linux task, but I'll gladly test the latest commits on Win & Mac.

Edit:
The Linux packages are not working (I tested both AppImage and rpm). I'll check them out.

@aoor9
Copy link
Author

aoor9 commented Jan 8, 2026

Hi, I have added the support for Linux. I suspect Windows and MacOS can be added very quickly now - but I don't have any Windows or MacOS device so I can't try this out.

Thanks for your help. I'm sorry I didn't complete the Linux task, but I'll gladly test the latest commits on Win & Mac.

Edit: The Linux packages are not working (I tested both AppImage and rpm). I'll check them out.

@emavgl Linux bundles, starting with AppImage, do not work due to some issues related to flutter_distributor (now FastForge), as it's not a stable release too.
After attempting to build, I found out something:

Schermata del 2026-01-08 16-38-21 Schermata del 2026-01-08 16-37-18

While the workflow generates the exec file with custom name ("oinkoin"), the AppRun file fetches the current project name ("piggybank"), which means the AppImage booting will fail for trying to trigger a non-existing file.

Could the name be changed to Oinkoin?

The package is called that even before creating this PR. After testing desktop platforms, I'll take it as a final task.

Renaming the project, which works, might be the only solution, though the namespace in app stores must be updated.

@emavgl
Copy link
Owner

emavgl commented Jan 15, 2026

I fear changing name will break somehow the name for the android apks, which will break many things. Do you mind splitting the PR into multiple ones? It would make it easy to test, for example, the change you made on Linux side, replacing flutter_distributor.

@emavgl
Copy link
Owner

emavgl commented Jan 18, 2026

I fix the issue with the linux binary name, now it points to "piggybank" but it is ok, since the display name and the package name will stay Oinkoin. It works on my computer at least :) I tried both .deb and AppImage.

I can't manage to switch to fastforge instead. I have problem building the appImage as I get this error here

fastforgedev/fastforge#259

do you have the same error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants