@@ -13,39 +13,51 @@ finish-args:
13
13
- --socket=x11
14
14
- --socket=pulseaudio
15
15
- --share=network
16
+ - --device=dri
16
17
build-options :
17
18
append-path : /usr/lib/sdk/node18/bin
18
19
env :
19
20
NPM_CONFIG_LOGLEVEL : info
20
21
modules :
21
- - name : p3x-onenote
22
+ - name : com.patrikx3
22
23
buildsystem : simple
23
24
build-options :
24
25
env :
25
- XDG_CACHE_HOME : /run/build/p3x-onenote /flatpak-node/cache
26
- npm_config_cache : /run/build/p3x-onenote /flatpak-node/npm-cache
26
+ XDG_CACHE_HOME : /run/build/com.patrikx3 /flatpak-node/cache
27
+ npm_config_cache : /run/build/com.patrikx3 /flatpak-node/npm-cache
27
28
npm_config_offline : ' true'
29
+ PUPPETEER_SKIP_DOWNLOAD : " true"
28
30
build-commands :
31
+ - ls -all
32
+ - cat package.json || true
29
33
# Install npm dependencies
30
- - npm install --offline
31
- # Build the app; in this example the `dist` script
34
+ # - npm install --offline
35
+ - yarn install --offline
36
+ # Build the app; in this example the dist script
32
37
# in package.json runs electron-builder
33
38
- |
34
- . ../ flatpak-node/electron-builder-arch-args.sh
39
+ . flatpak-node/electron-builder-arch-args.sh
35
40
npm run dist -- $ELECTRON_BUILDER_ARCH_ARGS --linux --dir
36
41
# Bundle app and dependencies
37
42
- cp -a dist/linux*unpacked /app/main
38
43
# Install app wrapper
39
- - install -Dm755 -t /app/bin/ ../run.sh
44
+ - install -Dm755 -t /app/bin/ ./run.sh
45
+ # - install -Dm444 logo.png ${FLATPAK_DEST}/share/icons/hicolor/512x512/apps/${FLATPAK_ID}.png
46
+ # - install -Dm444 flatpak/br.com.eduk.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop
47
+ # - install -Dm444 flatpak/br.com.eduk.metainfo.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml
40
48
subdir : main
41
49
sources :
50
+ # Getting project
51
+ # - type: dir
52
+ # path: ..
53
+ # dest: main
42
54
- type : archive
43
- url : https://cdn.corifeus. com/assets /onenote-2024 .4.143 .tar.gz
44
- sha256 : 8a323d6b7aa9b82645061691edcac9db94992c4ed02d163751ab5dcf98beea2a
55
+ url : https://github. com/patrikx3 /onenote/archive/refs/tags/v2024 .4.144 .tar.gz
56
+ sha256 : b592050eb0d0a1bdb9547d4cdb021f64ee20e506b2fd2a5d6ea3c46a532ab6f4
45
57
dest : main
46
58
- generated-sources.json
47
59
# Wrapper to launch the app
48
60
- type : script
49
61
dest-filename : run.sh
50
62
commands :
51
- - zypak-wrapper.sh /app/main/p3x-oenote "$@"
63
+ - zypak-wrapper.sh /app/main/br.com.eduk "$@"
0 commit comments