Beaver Notes
  • ๐Ÿ Hub
  • User Guides
    • ๐Ÿš€Installation
    • ๐Ÿ“”Getting Around
    • โœ’๏ธMarkdown syntax
    • ๐Ÿท๏ธLabels
    • ๐Ÿ”’Security
    • ๐Ÿ”„Set up the Sync
  • Dev Guides
    • ๐Ÿ’ฌHow to contribute
    • ๐Ÿ› ๏ธSetup Your Environment
    • ๐Ÿ—๏ธBuilding and Testing Beaver Notes
    • ๐Ÿ“ฆPackaging the app
    • ๐Ÿ’ปBeaver Integrations - DATA API
    • ๐ŸŒŽTranslations
    • ๐Ÿ—บ๏ธTranslate Beaver (Legacy)
Powered by GitBook
On this page
  • Choose your platform
  • Useful Resources
  • Example
  1. Dev Guides

Packaging the app

This page is intended for individuals who wish to redistribute or package Beaver for package managers and platforms not yet supported. It is not intended for packaging releases of the app its

PreviousBuilding and Testing Beaver NotesNextBeaver Integrations - DATA API

Last updated 1 year ago

The RPM package for macOS has been discontinued since October 2023. Therefore, the only way to build an RPM package on a Mac is by installing RPM through Homebrew, as indicated in .

The packaging library electron-builder doesn't support flatpaks to learn more visit

A good example of how this guide should be used, even though it wasn't created using this guide, is the by a wonderful member of our community.

Choose your platform

Let's suppose you are here to package Beaver Notes for your favorite package manager, whether it's for ๐ŸงLinux, ๐ŸŽmacOS, or ๐ŸชŸWindows. The first thing you should do is check the package manager's website or repository for a documentation page. This will help you cover the steps we can't provide here due to the variety of package managers.

Useful Resources

Usually you'll need the following to package an app:

  • Knowledge of the Language used by the package manager

  • The SHA256 of the original package or source code

You can get the SHA256 either from or by running the following command in your terminal or Powershell.

๐ŸชŸWindows

Get-FileHash -Algorithm SHA256 "C:\Path\to\beaver-notes.exe"

๐Ÿง Linux / ๐ŸŽ macOs

sha256sum shasum -a 256 path-to-Beaver-Notes

Example

The following piece of code is an example of how a typical package manager manifest looks. Please note that this may vary from one package manager to another and is provided here for illustrative purposes only.

  version "1.0.0"
  sha256 "f19422c18c8a4455acb36e2feef8e778dd9d4c37298761aeb51c2995fcc26b18"

    url "https://github.com/Daniele-rolli/Beaver-Notes/releases/download/#{version}/Beaver-Notes-#{version}.dmg"
  name "Beaver Notes"
  desc "Your Personal Note-Taking Haven for Privacy
and Efficiency"
  homepage "https://beavernotes.com"
  depends_on arch: :intel

  app "Beaver-notes.app"
end

That's it you know known what you need to package Beaver Notes for your favorite repo.

๐Ÿ“ฆ
this issue
the electron builder docs.
AUR repository packaged
Beaver Note's release page
Link to this code snippet.