Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
27dfe3c
feat: use flutter_distrubutor to build linux packages
LucasXu0 Feb 17, 2025
d37b59f
feat: verify deb on Linux
LucasXu0 Feb 17, 2025
52ab318
chore: update rpm deps
LucasXu0 Feb 17, 2025
38f5c06
chore: update codesign files
LucasXu0 Feb 17, 2025
6767fdb
chore: update rpm make_config.yaml
LucasXu0 Feb 18, 2025
29581c3
Merge branch 'main' into linux_deb_and_rpm
LucasXu0 Feb 18, 2025
e21ce75
chore: update release.yml
LucasXu0 Feb 18, 2025
f163ce5
chore: update release.yml
LucasXu0 Feb 18, 2025
48e1aa0
Merge branch 'linux_deb_and_rpm'
LucasXu0 Feb 18, 2025
d501922
chore: update feed url
LucasXu0 Feb 18, 2025
54fd00f
Merge branch 'linux_deb_and_rpm'
LucasXu0 Feb 18, 2025
b5005e3
chore: rename AppFlowy to appflowy
LucasXu0 Feb 18, 2025
6babd7a
chore: update CHANGELOG.md (#7397)
asjqkkkk Feb 18, 2025
f2b48c8
chore: create release path if not exist
LucasXu0 Feb 18, 2025
cb7dcf7
feat: support appimage
LucasXu0 Feb 19, 2025
a585204
Revert "feat: support appimage"
LucasXu0 Feb 19, 2025
08f13c0
fix: cp deb/rpm error
LucasXu0 Feb 19, 2025
971592e
feat: support appimage
LucasXu0 Feb 19, 2025
7a2db83
chore: add linux build script
LucasXu0 Feb 19, 2025
46c7e8f
feat: add macos build script
LucasXu0 Feb 19, 2025
3e98213
feat: update linux scripts
LucasXu0 Feb 19, 2025
6fffaa8
chore: update linux scripts
LucasXu0 Feb 19, 2025
cda0701
chore: update relesae script
LucasXu0 Feb 19, 2025
45ae882
chore: update macos build scripts
LucasXu0 Feb 19, 2025
b663396
chore: rename macOS package name
LucasXu0 Feb 20, 2025
d2268ee
chore: add keychain in release.yaml
LucasXu0 Feb 20, 2025
80126fb
chore: update macos build steps in release.yaml
LucasXu0 Feb 20, 2025
35606e1
Merge branch 'main' into linux_deb_and_rpm
LucasXu0 Feb 20, 2025
2face51
chore: update macos script desc
LucasXu0 Feb 20, 2025
e371ec3
chore: remove sudo
LucasXu0 Feb 20, 2025
0640e92
feat: support tar.xz package type
LucasXu0 Feb 21, 2025
3d893ef
feat: support tar.xz package type
LucasXu0 Feb 21, 2025
e9baf6c
chore: add fuse
LucasXu0 Feb 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
228 changes: 120 additions & 108 deletions .github/workflows/release.yml

Large diffs are not rendered by default.

31 changes: 27 additions & 4 deletions frontend/appflowy_flutter/distribute_options.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,35 @@
output: dist/
output: build/
releases:
- name: dev
- name: prod
jobs:
- name: release-dev-linux-deb
- name: release-prod-linux-deb
package:
platform: linux
target: deb
- name: release-dev-linux-rpm
- name: release-prod-linux-rpm
package:
platform: linux
target: rpm
- name: release-prod-linux-appimage
package:
platform: linux
target: appimage
- name: release-prod-linux-zip
package:
platform: linux
target: zip

# Because the flutter_distribute plugin does not support the deep code-signing for macos, we need to manually sign the app.
# So we don't use the flutter_distribute plugin to distribute the macos app.
# - name: release-prod-macos-dmg
# package:
# platform: macos
# target: dmg
# - name: release-prod-macos-pkg
# package:
# platform: macos
# target: pkg
- name: release-prod-macos-zip
package:
platform: macos
target: zip
2 changes: 1 addition & 1 deletion frontend/appflowy_flutter/linux/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.10)
project(runner LANGUAGES CXX)

set(BINARY_NAME "AppFlowy")
set(BINARY_NAME "appflowy")
set(APPLICATION_ID "io.appflowy.appflowy")

cmake_policy(SET CMP0063 NEW)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
display_name: AppFlowy

icon: linux/packaging/assets/logo.png

keywords:
- AppFlowy
- Office
- Document
- Database
- Note
- Kanban
- Note

generic_name: AppFlowy

categories:
- Office

startup_notify: true

supported_mime_type:
- x-scheme-handler/appflowy-flutter
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ essential: false
section: x11
priority: optional

supportedMimeType: x-scheme-handler/appflowy-flutter
supported_mime_type:
- x-scheme-handler/appflowy-flutter

dependencies:
- libnotify-bin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ categories:

startup_notify: true

supportedMimeType: x-scheme-handler/appflowy-flutter
supported_mime_type:
- x-scheme-handler/appflowy-flutter

requires:
- libnotify
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions frontend/appflowy_flutter/macos/packaging/dmg/make_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"title": "AppFlowy",
"icon-size": 94,
"window": {
"size": {
"width": 600,
"height": 450
}
},
"background": "../../macos/packaging/assets/background.jpg",
"contents": [
{
"x": 141,
"y": 249,
"type": "file",
"path": "AppFlowy.app",
"name": "AppFlowy.app"
},
{
"x": 458,
"y": 249,
"type": "link",
"path": "/Applications"
}
]
}
17 changes: 17 additions & 0 deletions frontend/appflowy_flutter/macos/packaging/dmg/make_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
title: "AppFlowy"
icon-size: 94
window:
size:
width: 600
height: 450
background: "../../../macos/packaging/assets/background.jpg"
contents:
- x: 141
y: 249
type: "file"
path: "AppFlowy.app"
name: "AppFlowy.app"
- x: 458
y: 249
type: "link"
path: "/Applications"
6 changes: 3 additions & 3 deletions frontend/scripts/docker-buildfiles/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ USER $user
WORKDIR /home/$user
COPY --from=builder /appflowy/frontend/appflowy_flutter/build/linux/x64/release/bundle .
RUN xdg-user-dirs-update && \
test -e ./AppFlowy && \
file ./AppFlowy
test -e ./appflowy && \
file ./appflowy

CMD ["./AppFlowy"]
CMD ["./appflowy"]
6 changes: 3 additions & 3 deletions frontend/scripts/flatpack-buildfiles/dbus-interface.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<node name="/io/appflowy/AppFlowy/Object">
<interface name="io.appflowy.AppFlowy">
<node name="/io/appflowy/appflowy/Object">
<interface name="io.appflowy.appflowy">
<method name="Activate">
<arg type="a{sv}" name="platform_data" direction="in" />
</method>
Expand All @@ -13,4 +13,4 @@
<arg type="a{sv}" name="platform_data" direction="in" />
</method>
</interface>
</node>
</node>
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[Desktop Entry]
Type=Application
Name=AppFlowy
Icon=io.appflowy.AppFlowy
Exec=AppFlowy %U
Icon=io.appflowy.appflowy
Exec=appflowy %U
Categories=Network;Productivity;
Keywords=Notes
DBusActivatable=true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,38 +1,46 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>io.appflowy.AppFlowy</id>
<id>io.appflowy.appflowy</id>

<name>AppFlowy</name>
<summary>Open Source Notion Alternative</summary>
<summary>Open Source Notion Alternative</summary>

<metadata_license>CC-BY-4.0</metadata_license>
<project_license>AGPL-3.0-only</project_license>

<description>
<p>
# Built for teams that need more control and flexibility ## 100% data control You can host AppFlowy wherever you want; no vendor lock-in.
# Built for teams that need more control and flexibility ## 100% data control You can host
AppFlowy wherever you want; no vendor lock-in.
</p>
<p>
## Unlimited customizations Design and modify AppFlowy your way with an open core codebase.
</p>
<p>
## One codebase supporting multiple platforms AppFlowy is built with Flutter and Rust. What does this mean? Faster development, better native experience, and more reliable performance.
## One codebase supporting multiple platforms AppFlowy is built with Flutter and Rust. What
does this mean? Faster development, better native experience, and more reliable performance.
</p>
<p>
# Built for individuals who care about data security and mobile experience ## 100% control of your data Download and install AppFlowy on your local machine. You own and control your personal data.
# Built for individuals who care about data security and mobile experience ## 100% control of
your data Download and install AppFlowy on your local machine. You own and control your
personal data.
</p>
<p>
## Extensively extensible For those with no coding experience, AppFlowy enables you to create apps that suit your needs. It&apos;s built on a community-driven toolbox, including templates, plugins, themes, and more.
## Extensively extensible For those with no coding experience, AppFlowy enables you to create
apps that suit your needs. It&apos;s built on a community-driven toolbox, including templates,
plugins, themes, and more.
</p>
<p>
## Truly native experience Faster, more stable with support for offline mode. It&apos;s also better integrated with different devices. Moreover, AppFlowy enables users to access features and possibilities not available on the web.
## Truly native experience Faster, more stable with support for offline mode. It&apos;s also
better integrated with different devices. Moreover, AppFlowy enables users to access features
and possibilities not available on the web.
</p>
</description>
<launchable type="desktop-id">io.appflowy.AppFlowy.desktop</launchable>

<launchable type="desktop-id">io.appflowy.appflowy.desktop</launchable>
<screenshots>
<screenshot type="default">
<image>https://github.com/AppFlowy-IO/appflowy/raw/main/doc/imgs/welcome.png</image>
</screenshot>
</screenshots>
</component>
</component>
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[D-BUS Service]
Name=io.appflowy.AppFlowy
Exec=AppFlowy
Name=io.appflowy.appflowy
Exec=appflowy
4 changes: 2 additions & 2 deletions frontend/scripts/flatpack-buildfiles/launcher.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
gdbus call --session --dest io.appflowy.AppFlowy \
gdbus call --session --dest io.appflowy.appflowy \
--object-path /io/appflowy/AppFlowy/Object \
--method io.appflowy.AppFlowy.Open "['$1']" {}
--method io.appflowy.appflowy.Open "['$1']" {}
Loading
Loading