- onenote.git
- com.patrikx3.onenote.yml
This file ( 2kB ) exceeds the allowed full mode (48 kb) size.
The editor full hight is disabled, only scrolling is allowed..
If you wish to edit a file, it is recommended to use the scroll mode as some users do not like the full height
mode, although some users like it.
app-id: com.patrikx3.onenote
runtime: org.freedesktop.Platform
runtime-version: '23.08'
sdk: org.freedesktop.Sdk
base: org.electronjs.Electron2.BaseApp
base-version: '23.08'
sdk-extensions:
- org.freedesktop.Sdk.Extension.node18
command: run.sh
separate-locales: false
finish-args:
- --share=ipc
- --socket=x11
- --socket=pulseaudio
- --share=network
- --device=dri
build-options:
append-path: /usr/lib/sdk/node18/bin
env:
NPM_CONFIG_LOGLEVEL: info
modules:
- name: com.patrikx3
buildsystem: simple
build-options:
env:
XDG_CACHE_HOME: /run/build/com.patrikx3/flatpak-node/cache
npm_config_cache: /run/build/com.patrikx3/flatpak-node/npm-cache
npm_config_offline: 'true'
PUPPETEER_SKIP_DOWNLOAD: "true"
build-commands:
# Install npm dependencies
#- npm install --offline
- yarn install --offline
# Build the app; in this example the dist script
# in package.json runs electron-builder
- |
. flatpak-node/electron-builder-arch-args.sh
npm run dist -- $ELECTRON_BUILDER_ARCH_ARGS --linux --dir
# Bundle app and dependencies
- cp -a dist/linux*unpacked /app/main
# Install app wrapper
- install -Dm755 -t /app/bin/ ./run.sh
#- install -Dm444 logo.png ${FLATPAK_DEST}/share/icons/hicolor/512x512/apps/${FLATPAK_ID}.png
#- install -Dm444 flatpak/br.com.eduk.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop
#- install -Dm444 flatpak/br.com.eduk.metainfo.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml
subdir: main
sources:
# Getting project
# - type: dir
# path: ..
# dest: main
- type: archive
url: https://github.com/patrikx3/onenote/archive/refs/tags/v2024.4.144.tar.gz
sha256: 87184380dbd2635bb113190ad51c269c445b33ffecf2b7db7c66b57cee7dc763
dest: main
- generated-sources.json
# Wrapper to launch the app
- type: script
dest-filename: run.sh
commands:
- zypak-wrapper.sh /app/main/br.com.eduk "$@"