File tree 3 files changed +53
-51
lines changed
3 files changed +53
-51
lines changed Original file line number Diff line number Diff line change @@ -14,4 +14,5 @@ package-lock.json
14
14
15
15
/.flatpak-builder
16
16
/.build
17
- generated-sources.json
17
+ generated-sources.json
18
+ yarn.lock
Original file line number Diff line number Diff line change
1
+ app-id : com.patrikx3.onenote
2
+ runtime : org.freedesktop.Platform
3
+ runtime-version : ' 23.08'
4
+ sdk : org.freedesktop.Sdk
5
+ base : org.electronjs.Electron2.BaseApp
6
+ base-version : ' 23.08'
7
+ sdk-extensions :
8
+ - org.freedesktop.Sdk.Extension.node18
9
+ command : run.sh
10
+ separate-locales : false
11
+ finish-args :
12
+ - --share=ipc
13
+ - --socket=x11
14
+ - --socket=pulseaudio
15
+ - --share=network
16
+ build-options :
17
+ append-path : /usr/lib/sdk/node18/bin
18
+ env :
19
+ NPM_CONFIG_LOGLEVEL : info
20
+ modules :
21
+ - name : p3x-onenote
22
+ buildsystem : simple
23
+ build-options :
24
+ env :
25
+ XDG_CACHE_HOME : /run/build/p3x-onenote/flatpak-node/cache
26
+ npm_config_cache : /run/build/p3x-onenote/flatpak-node/npm-cache
27
+ npm_config_offline : ' true'
28
+ build-commands :
29
+ # Install npm dependencies
30
+ - npm install --offline
31
+ # Build the app; in this example the `dist` script
32
+ # in package.json runs electron-builder
33
+ - |
34
+ . ../flatpak-node/electron-builder-arch-args.sh
35
+ npm run dist -- $ELECTRON_BUILDER_ARCH_ARGS --linux --dir
36
+ # Bundle app and dependencies
37
+ - cp -a dist/linux*unpacked /app/main
38
+ # Install app wrapper
39
+ - install -Dm755 -t /app/bin/ ../run.sh
40
+ subdir : main
41
+ sources :
42
+ - type : archive
43
+ url : https://cdn.corifeus.com/assets/onenote-2024.4.143.tar.gz
44
+ sha256 : 8a323d6b7aa9b82645061691edcac9db94992c4ed02d163751ab5dcf98beea2a
45
+ dest : main
46
+ - generated-sources.json
47
+ # Wrapper to launch the app
48
+ - type : script
49
+ dest-filename : run.sh
50
+ commands :
51
+ - zypak-wrapper.sh /app/main/p3x-oenote "$@"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments