Add Briefcase packaging docs and scripts

This commit is contained in:
thePR0M3TH3AN
2025-08-08 09:24:25 -04:00
parent 3ef0446e26
commit 593b173e95
7 changed files with 98 additions and 1 deletions

5
packaging/build-linux.sh Executable file
View File

@@ -0,0 +1,5 @@
#!/bin/bash
set -e
briefcase create linux --no-input
briefcase build linux --no-input
briefcase package linux --no-input

5
packaging/build-macos.sh Executable file
View File

@@ -0,0 +1,5 @@
#!/bin/bash
set -e
briefcase create macos --no-input
briefcase build macos --no-input
briefcase package macos --no-input

View File

@@ -0,0 +1,3 @@
briefcase create windows --no-input
briefcase build windows --no-input
briefcase package windows --no-input

View File

@@ -0,0 +1,18 @@
app-id: io.seedpass.SeedPass
runtime: org.gnome.Platform
runtime-version: '46'
sdk: org.gnome.Sdk
command: seedpass-gui
modules:
- name: seedpass
buildsystem: simple
build-commands:
- mkdir -p /app/bin
- cp -r ../../build/seedpass-gui/ubuntu/noble/* /app/bin/
sources:
- type: dir
path: ../../
finish-args:
- --share=network
- --socket=fallback-x11
- --socket=wayland

22
packaging/snapcraft.yaml Normal file
View File

@@ -0,0 +1,22 @@
name: seedpass
base: core22
version: '0.1.0'
summary: Deterministic password manager
description: |
SeedPass deterministically generates passwords using BIP-39 seeds.
grade: devel
confinement: strict
apps:
seedpass-gui:
command: bin/seedpass-gui
plugs:
- network
- x11
parts:
seedpass:
plugin: dump
source: build/seedpass-gui/ubuntu/noble/app
stage-packages:
- libgtk-3-0
- libglib2.0-0
- libgdk-pixbuf2.0-0