AppImageBuilder.yml 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. # appimage-builder recipe see https://appimage-builder.readthedocs.io for details
  2. version: 1
  3. script:
  4. - rm -rf AppDir || true
  5. - cp -r appflowy_flutter/build/linux/x64/release/bundle AppDir
  6. # Icon
  7. - mkdir -p AppDir/usr/share/icons/hicolor/scalable/apps
  8. - cp scripts/linux_distribution/packaging/appflowy.svg AppDir/usr/share/icons/hicolor/scalable/apps/
  9. AppDir:
  10. path: ./AppDir
  11. app_info:
  12. id: io.appflowy.AppFlowy
  13. name: AppFlowy
  14. icon: appflowy.svg
  15. version: [CHANGE_THIS]
  16. exec: AppFlowy
  17. exec_args: $@
  18. apt:
  19. arch:
  20. - amd64
  21. allow_unauthenticated: true
  22. sources:
  23. - sourceline: deb http://id.archive.ubuntu.com/ubuntu/ jammy main restricted
  24. - sourceline: deb http://id.archive.ubuntu.com/ubuntu/ jammy-updates main restricted
  25. - sourceline: deb http://id.archive.ubuntu.com/ubuntu/ jammy universe
  26. - sourceline: deb http://id.archive.ubuntu.com/ubuntu/ jammy-updates universe
  27. - sourceline: deb http://id.archive.ubuntu.com/ubuntu/ jammy multiverse
  28. - sourceline: deb http://id.archive.ubuntu.com/ubuntu/ jammy-updates multiverse
  29. - sourceline: deb http://id.archive.ubuntu.com/ubuntu/ jammy-backports main restricted
  30. universe multiverse
  31. - sourceline: deb http://security.ubuntu.com/ubuntu jammy-security main restricted
  32. - sourceline: deb http://security.ubuntu.com/ubuntu jammy-security universe
  33. - sourceline: deb http://security.ubuntu.com/ubuntu jammy-security multiverse
  34. - sourceline: deb https://ppa.launchpadcontent.net/touchegg/stable/ubuntu/ jammy
  35. main
  36. - sourceline: deb https://packagecloud.io/slacktechnologies/slack/debian/ jessie
  37. main
  38. - sourceline: deb [arch=amd64 signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg]
  39. https://cli.github.com/packages stable main
  40. - sourceline: deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x
  41. jammy main
  42. - sourceline: deb [arch=amd64,arm64,armhf] http://packages.microsoft.com/repos/code
  43. stable main
  44. - sourceline: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable
  45. main
  46. include:
  47. - libc6:amd64
  48. - libnotify4:amd64
  49. files:
  50. include: []
  51. exclude:
  52. - usr/share/man
  53. - usr/share/doc/*/README.*
  54. - usr/share/doc/*/changelog.*
  55. - usr/share/doc/*/NEWS.*
  56. - usr/share/doc/*/TODO.*
  57. test:
  58. fedora-30:
  59. image: appimagecrafters/tests-env:fedora-30
  60. command: ./AppRun
  61. debian-stable:
  62. image: appimagecrafters/tests-env:debian-stable
  63. command: ./AppRun
  64. archlinux-latest:
  65. image: appimagecrafters/tests-env:archlinux-latest
  66. command: ./AppRun
  67. centos-7:
  68. image: appimagecrafters/tests-env:centos-7
  69. command: ./AppRun
  70. ubuntu-xenial:
  71. image: appimagecrafters/tests-env:ubuntu-xenial
  72. command: ./AppRun
  73. AppImage:
  74. arch: x86_64
  75. update-information: guess