Skip to content

Commit

Permalink
r0b08x [chore] 3/19/2024, 12:18:34 PM
Browse files Browse the repository at this point in the history
  • Loading branch information
p3x-robot committed Mar 19, 2024
1 parent bff6488 commit 4391f5b
Show file tree
Hide file tree
Showing 14 changed files with 114 additions and 6,308 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ package-lock.json

/.flatpak-builder
/.build
/repo
5 changes: 4 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,7 @@
/dist
/secure
/.github
/.vscode
/.vscode
/.flatpak-builder
/.build
/repo
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@



# 📚 P3X OneNote Linux v2024.4.146
# 📚 P3X OneNote Linux v2024.4.150



Expand Down Expand Up @@ -248,7 +248,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https://

---

[**P3X-ONENOTE**](https://corifeus.com/onenote) Build v2024.4.146
[**P3X-ONENOTE**](https://corifeus.com/onenote) Build v2024.4.150

[![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact) [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software)

Expand Down
2 changes: 1 addition & 1 deletion artifacts/arm.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https://

---

[**P3X-ONENOTE**](https://corifeus.com/onenote) Build v2024.4.146
[**P3X-ONENOTE**](https://corifeus.com/onenote) Build v2024.4.150

[![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact) [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software)

Expand Down
2 changes: 1 addition & 1 deletion artifacts/flavor.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https://

---

[**P3X-ONENOTE**](https://corifeus.com/onenote) Build v2024.4.146
[**P3X-ONENOTE**](https://corifeus.com/onenote) Build v2024.4.150

[![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact) [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software)

Expand Down
2 changes: 1 addition & 1 deletion artifacts/new-language.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https://

---

[**P3X-ONENOTE**](https://corifeus.com/onenote) Build v2024.4.146
[**P3X-ONENOTE**](https://corifeus.com/onenote) Build v2024.4.150

[![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact) [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software)

Expand Down
2 changes: 1 addition & 1 deletion artifacts/npm.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https://

---

[**P3X-ONENOTE**](https://corifeus.com/onenote) Build v2024.4.146
[**P3X-ONENOTE**](https://corifeus.com/onenote) Build v2024.4.150

[![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact) [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software)

Expand Down
6 changes: 5 additions & 1 deletion change-log.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
### Unreleased
None.

### v2024.4.150
Released on 03/19/2024
* CHORE: Flathub release test.

### v2024.4.146
Released on 03/19/2024
* CHORE: Flathub test.
Expand Down Expand Up @@ -435,7 +439,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https://

---

[**P3X-ONENOTE**](https://corifeus.com/onenote) Build v2024.4.146
[**P3X-ONENOTE**](https://corifeus.com/onenote) Build v2024.4.150

[![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact) [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software)

Expand Down
22 changes: 11 additions & 11 deletions org.flathub.p3x-onenote.yml → com.patrikx3.onenote.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
app-id: org.flathub.p3x-onenote

app-id: com.patrikx3.onenote
runtime: org.freedesktop.Platform
runtime-version: '23.08'
sdk: org.freedesktop.Sdk
Expand All @@ -9,14 +10,12 @@ sdk-extensions:
command: run.sh
separate-locales: false
finish-args:
- "--socket=wayland"
- "--socket=x11"
- "--share=ipc"
- "--device=dri"
- "--socket=pulseaudio"
- "--filesystem=home"
- "--share=network"
- "--talk-name=org.freedesktop.Notifications"
build-options:
append-path: /usr/lib/sdk/node18/bin
env:
Expand All @@ -42,7 +41,7 @@ modules:
#- npm install --offline
#- echo $YARN_CACHE_FOLDER
#- yarn cache list --offline
- echo "yarn-offline-mirror \"/run/build/p3x-onenote/flatpak-node/yarn-mirror\"" >> .yarnrc
- echo "yarn-offline-mirror "/run/build/p3x-onenote/flatpak-node/yarn-mirror"" >> .yarnrc
- yarn cache dir --offline
- yarn install --offline
# Build the app; in this example the dist script
Expand All @@ -53,10 +52,11 @@ modules:
# 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
- mkdir -p /app/main
- install -Dm755 -t /app/bin/ ../run.sh
- install -Dm444 src/electron/images/256x256.png ${FLATPAK_DEST}/share/icons/hicolor/512x512/apps/${FLATPAK_ID}.png
- install -Dm444 src/flathub/p3x-onenote.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop
- install -Dm444 src/flathub/metainfo.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml
sources:
# Getting project
#- type: dir
Expand All @@ -67,12 +67,12 @@ modules:
# tag: v2024.4.146
# dest: main
- type: archive
url: https://github.com/patrikx3/onenote/archive/refs/heads/master.tar.gz
sha256: b1822e3a325f33af7845be17bc8393eab23deadc1bf80ffc2c02da0114b16e64
url: https://github.com/patrikx3/onenote/archive/refs/tags/v2024.4.146.tar.gz
sha256: 3b97b93273f9b12ae430d6bb14c9c083701049a898fd1db715aff10cab48c0ba
dest: main
- generated-sources.json
# Wrapper to launch the app
- type: script
dest-filename: run.sh
commands:
- zypak-wrapper.sh /app/main/p3x-onenote "$@"
- zypak-wrapper.sh /app/main/p3x-onenote "$@"
42 changes: 42 additions & 0 deletions generated-sources.json
Original file line number Diff line number Diff line change
Expand Up @@ -1527,6 +1527,13 @@
"dest-filename": "cssesc-3.0.0.tgz",
"dest": "flatpak-node/yarn-mirror"
},
{
"type": "file",
"url": "https://npm.patrikx3.com/data-uri-to-buffer/-/data-uri-to-buffer-4.0.1.tgz#d8feb2b2881e6a4f58c2e08acfd0e2834e26222e",
"sha512": "d11f629116faebc1c1ed00f14f5be4a6e501b6a739dd8c80c0cc0679414a4688d8fcd58abdd67ef5462d45f1a686a35b4644d256931b9b28578a9145bf671bfc",
"dest-filename": "data-uri-to-buffer-4.0.1.tgz",
"dest": "flatpak-node/yarn-mirror"
},
{
"type": "file",
"url": "https://npm.patrikx3.com/date-time/-/date-time-1.1.0.tgz#18876d0bda4c19fe70dd3bf4b034f281b12a40b6",
Expand Down Expand Up @@ -2045,6 +2052,13 @@
"dest-filename": "fd-slicer-1.1.0.tgz",
"dest": "flatpak-node/yarn-mirror"
},
{
"type": "file",
"url": "https://npm.patrikx3.com/fetch-blob/-/fetch-blob-3.2.0.tgz#f09b8d4bbd45adc6f0c20b7e787e793e309dcce9",
"sha512": "ef2010a43d94309ccb8b50eabfba856273db68fc7b65f14ae8f888c50e0f7e418fc8dca5d94831f9afee994a2798aaa384ce039df6ccbdd5faa2d5eaf37b2841",
"dest-filename": "fetch-blob-3.2.0.tgz",
"dest": "flatpak-node/yarn-mirror"
},
{
"type": "file",
"url": "https://npm.patrikx3.com/figures/-/figures-1.7.0.tgz#cbe1e3affcf1cd44b80cadfed28dc793a9701d2e",
Expand Down Expand Up @@ -2213,6 +2227,13 @@
"dest-filename": "form-data-4.0.0.tgz",
"dest": "flatpak-node/yarn-mirror"
},
{
"type": "file",
"url": "https://npm.patrikx3.com/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz#24807c31c9d402e002ab3d8c720144ceb8848423",
"sha512": "6ee7b01f332f60bdbd8dd7904d520b79c49a64a9edfd12568e8642179396eb467aeff1a648b06438533baa1d4f237cc536d25b6992f9790bb5bcb7daccec23e2",
"dest-filename": "formdata-polyfill-4.0.10.tgz",
"dest": "flatpak-node/yarn-mirror"
},
{
"type": "file",
"url": "https://npm.patrikx3.com/fp-and-or/-/fp-and-or-0.1.4.tgz#0268c800c359ede259cdcbc352654e698b7ea299",
Expand Down Expand Up @@ -3900,6 +3921,20 @@
"dest-filename": "node-addon-api-1.7.2.tgz",
"dest": "flatpak-node/yarn-mirror"
},
{
"type": "file",
"url": "https://npm.patrikx3.com/node-domexception/-/node-domexception-1.0.0.tgz#6888db46a1f71c0b76b3f7555016b63fe64766e5",
"sha512": "fe3299a0ca70d05f06470978fde2d138f03771f717b4b0293f44332e6513fc7b8f0995b207b218f59acc78ac363bf9c522a3d00773d533d6989b4177d760170d",
"dest-filename": "node-domexception-1.0.0.tgz",
"dest": "flatpak-node/yarn-mirror"
},
{
"type": "file",
"url": "https://npm.patrikx3.com/node-fetch/-/node-fetch-3.3.2.tgz#d1e889bacdf733b4ff3b2b243eb7a12866a0b78b",
"sha512": "75107bf2cacdfe5ea0a96ba56a1f52af17989f179d7481b7d3e18ea8affd3a52d5c8b8371cf9ebe92a8e59358e5ca4700b6786602919e7d34db9282f4aba6038",
"dest-filename": "node-fetch-3.3.2.tgz",
"dest": "flatpak-node/yarn-mirror"
},
{
"type": "file",
"url": "https://npm.patrikx3.com/node-gyp/-/node-gyp-10.0.1.tgz#205514fc19e5830fa991e4a689f9e81af377a966",
Expand Down Expand Up @@ -5790,6 +5825,13 @@
"dest-filename": "wcwidth-1.0.1.tgz",
"dest": "flatpak-node/yarn-mirror"
},
{
"type": "file",
"url": "https://npm.patrikx3.com/web-streams-polyfill/-/web-streams-polyfill-3.3.3.tgz#2073b91a2fdb1fbfbd401e7de0ac9f8214cecb4b",
"sha512": "7762562c28af999613488a207bd32c805099aede7bd418a47161989230b59219656d3783946a99d83f2f0fc13f9496bc58659b6fb3e59bcfd725857b2091d967",
"dest-filename": "web-streams-polyfill-3.3.3.tgz",
"dest": "flatpak-node/yarn-mirror"
},
{
"type": "file",
"url": "https://npm.patrikx3.com/websocket-driver/-/websocket-driver-0.7.4.tgz#89ad5295bbf64b480abcba31e4953aca706f5760",
Expand Down
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "p3x-onenote",
"version": "2024.4.146",
"version": "2024.4.150",
"description": "📚 P3X OneNote Linux",
"main": "src/electron/app.js",
"corifeus": {
Expand Down Expand Up @@ -67,12 +67,13 @@
"corifeus-utils": "2024.4.115",
"electron-store": "8.2.0",
"electron-updater": "6.1.8",
"semver": "7.6.0",
"electron": "29.1.4"
"semver": "7.6.0"
},
"devDependencies": {
"corifeus-builder": "2024.4.123",
"electron-builder": "24.13.3"
"electron-builder": "24.13.3",
"node-fetch": "^3.3.2",
"electron": "29.1.4"
},
"engines": {
"node": ">=12.13.0"
Expand Down
33 changes: 33 additions & 0 deletions src/flathub/metainfo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@

<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<name>P3X Onenote</name>
<id>com.patrikx3.onenote</id>
<summary>A Linux compatible version of OneNote</summary>
<url type="homepage">https://corifeus.com/onenote</url>

<metadata_license>MIT</metadata_license>
<project_license>MIT</project_license>

<description>
<p>
A Linux compatible version of OneNote
</p>
</description>
<screenshots>
<screenshot type="default">
<image>https://cdn.corifeus.com/git/onenote/artifacts/screenshot/screenshot-2023.png</image>
<caption>Light theme</caption>
</screenshot>
<screenshot >
<image>https://cdn.corifeus.com/git/onenote/artifacts/screenshot/screenshot-2024.png</image>
<caption>Dark mode</caption>
</screenshot>
</screenshots>
<releases>
<release version="2024.4.146" date="2024-03-19"/>
</releases>
<content_rating type="oars-1.1"/>
<developer_name>patrikx3</developer_name>
<launchable type="desktop-id">com.patrikx3.onenote</launchable>
</component>
7 changes: 7 additions & 0 deletions src/flathub/p3x-onenote.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[Desktop Entry]
Type=Application
Name=P3X Onenote
Comment=A Linux compatible version of OneNote
Icon=com.patrikx3.onenote
Exec=run.sh
Categories=Office
Loading

0 comments on commit 4391f5b

Please sign in to comment.